mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 01:58:44 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user