2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>

* clock/clock.c, include/bsp.h: Change prototype of IDLE thread to
	consistently return void * and take a uintptr_t argument.
This commit is contained in:
Joel Sherrill
2009-02-12 15:57:29 +00:00
parent 06f3a3ef2a
commit 2a0a791fce
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/clock.c, include/bsp.h: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
2009-01-21 Eric Norum <norume@aps.anl.gov>
PR 1358/bsps

View File

@@ -112,7 +112,7 @@ uint32_t bsp_clock_nanoseconds_since_last_tick(void)
/*
* Provide our own version of the idle task
*/
Thread _BSP_Thread_Idle_body(uint32_t ignored)
void *_BSPThread_Idle_body( uintptr_t ignored )
{
for(;;)
asm volatile ("addq.l #1,__SRAMBASE"); /* Atomic increment */

View File

@@ -131,7 +131,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.
*/
Thread _BSP_Thread_Idle_body(uint32_t);
void *_BSPThread_Idle_body( uintptr_t ignored );
#define BSP_IDLE_TASK_BODY _BSP_Thread_Idle_body
#ifdef __cplusplus