mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 10:47:55 +08:00
shsim/include/bsp.h: Remove rtems_bsp_delay()
This commit is contained in:
@@ -45,22 +45,12 @@ extern "C" {
|
||||
Thread clock_driver_sim_idle_body(uintptr_t);
|
||||
#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
|
||||
|
||||
/*
|
||||
* Simple spin delay in microsecond units for device drivers.
|
||||
* This is very dependent on the clock speed of the target.
|
||||
*
|
||||
* FIXME: Not applicable with gdb's simulator
|
||||
* Kept for sourcecode compatibility with other sh-BSPs
|
||||
*/
|
||||
#define rtems_bsp_delay( microseconds ) CPU_delay(microseconds)
|
||||
#define sh_delay( microseconds ) CPU_delay(microseconds)
|
||||
|
||||
/*
|
||||
* Defined in the linker script 'linkcmds'
|
||||
*/
|
||||
|
||||
extern void *CPU_Interrupt_stack_low ;
|
||||
extern void *CPU_Interrupt_stack_high ;
|
||||
extern void *CPU_Interrupt_stack_low;
|
||||
extern void *CPU_Interrupt_stack_high;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user