mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/clock.c, include/bsp.h: Rename BSP specific idle thread to bsp_idle_thread.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* clock/clock.c, include/bsp.h: Rename BSP specific idle thread to
|
||||
bsp_idle_thread.
|
||||
|
||||
2009-07-30 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
* include/bsp.h, network/network.c, startup/bspstart.c: Try enabling
|
||||
|
||||
@@ -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)
|
||||
Thread bsp_idle_thread(uint32_t ignored)
|
||||
{
|
||||
for(;;)
|
||||
asm volatile ("addq.l #1,__SRAMBASE"); /* Atomic increment */
|
||||
|
||||
@@ -131,8 +131,8 @@ 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( uintptr_t ignored );
|
||||
#define BSP_IDLE_TASK_BODY _BSP_Thread_Idle_body
|
||||
void *bsp_idle_thread( uintptr_t ignored );
|
||||
#define BSP_IDLE_TASK_BODY bsp_idle_thread
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user