summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:05 +0000
commit9265969713f233d090485bde9f03272591ee0a02 (patch)
tree3eff81e580ce886ff7ae4e6642fc15e9d4ecab38 /c/src/lib/libbsp/m68k/uC5282/include/bsp.h
parent2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-9265969713f233d090485bde9f03272591ee0a02.tar.bz2
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/include/bsp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
index b2a38f7eb9..3aec736efd 100644
--- a/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/uC5282/include/bsp.h
@@ -149,6 +149,14 @@ int BSP_enableVME_int_lvl(unsigned int level);
int BSP_disableVME_int_lvl(unsigned int level);
int BSP_vme2local_adrs(unsigned am, unsigned long vmeaddr, unsigned long *plocaladdr);
+/*
+ * This BSP provides its own IDLE task to override the RTEMS one.
+ * So we prototype it and define the constant confdefs.h expects
+ * to configure a BSP specific one.
+ */
+void _BSP_Thread_Idle_body(void);
+
+#define BSP_IDLE_TASK_BODY _BSP_Thread_Idle_body
#ifdef __cplusplus
}