2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>

* clock/clock.c, include/bsp.h: Correct prototype of idle thread. Eric
	Norum pointed out this was wrong.
This commit is contained in:
Joel Sherrill
2007-12-17 18:18:17 +00:00
parent fac3e5ee29
commit d38494c8f8
3 changed files with 7 additions and 3 deletions
+5
View File
@@ -1,3 +1,8 @@
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h: Correct prototype of idle thread. Eric
Norum pointed out this was wrong.
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h, startup/bspstart.c: Eliminate copies of
+1 -1
View File
@@ -113,7 +113,7 @@ uint32_t bsp_clock_nanoseconds_since_last_tick(void)
/*
* Provide our own version of the idle task
*/
void _BSP_Thread_Idle_body(void)
Thread _BSP_Thread_Idle_body(uint32_t ignored)
{
for(;;)
asm volatile ("addq.l #1,__SRAMBASE"); /* Atomic increment */
+1 -2
View File
@@ -152,8 +152,7 @@ int BSP_vme2local_adrs(unsigned am, unsigned long vmeaddr, unsigned long *plocal
* So we prototype it and define the constant confdefs.h expects
* to configure a BSP specific one.
*/
void _BSP_Thread_Idle_body(void);
Thread _BSP_Thread_Idle_body(uint32_t);
#define BSP_IDLE_TASK_BODY _BSP_Thread_Idle_body
#ifdef __cplusplus