summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc24xx/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-26 13:39:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-26 13:39:01 +0000
commite90329f399c33a99767324c43579dfa7da038433 (patch)
treef7fe99232218649d5850a5b034c36534d831bc94 /c/src/lib/libbsp/arm/lpc24xx/include
parent2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-e90329f399c33a99767324c43579dfa7da038433.tar.bz2
2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, include/bsp.h: Rename BSP specific idle thread to bsp_idle_thread. * misc/bspidle.c: New file. * include/idle.h, misc/idle.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/include')
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/include/bsp.h7
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/include/idle.h41
2 files changed, 7 insertions, 41 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h b/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
index 942bfd7ea2..bb156b01aa 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h
@@ -48,6 +48,13 @@ int lpc24xx_eth_attach_detach(
#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
+/*
+ * BSP specific idle thread
+ */
+void *bsp_idle_thread( uint32_t ignored);
+
+#define BSP_IDLE_TASK_BODY bsp_idle_thread
+
#endif /* ASM */
#ifdef __cplusplus
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/idle.h b/c/src/lib/libbsp/arm/lpc24xx/include/idle.h
deleted file mode 100644
index 116842b465..0000000000
--- a/c/src/lib/libbsp/arm/lpc24xx/include/idle.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * @file
- *
- * @author Sebastian Huber <sebastian.huber@embedded-brains.de>
- *
- * @ingroup lpc24xx
- *
- * @brief Idle task
- */
-
-/*
- * Copyright (c) 2009
- * Embedded Brains GmbH
- * Obere Lagerstr. 30
- * D-82178 Puchheim
- * Germany
- * rtems@embedded-brains.de
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef LIBBSP_ARM_LPC24XX_IDLE_H
-#define LIBBSP_ARM_LPC24XX_IDLE_H
-
-#include <rtems.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-Thread lpc24xx_idle( uint32_t ignored);
-
-#define BSP_IDLE_TASK_BODY lpc24xx_idle
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* LIBBSP_ARM_LPC24XX_IDLE_H */