18 #ifndef LIBBSP_MIPS_HURRICANE_BSP_H 19 #define LIBBSP_MIPS_HURRICANE_BSP_H 43 extern void WriteDisplay(
char *
string );
45 extern uint32_t mips_get_timer(
void );
47 #define BSP_FEATURE_IRQ_EXTENSION 48 #define BSP_SHARED_HANDLER_SUPPORT 1 50 #define CPU_CLOCK_RATE_MHZ (200) 51 #define CLOCKS_PER_MICROSECOND ( CPU_CLOCK_RATE_MHZ ) 64 #define rtems_bsp_delay( microseconds ) \ 66 uint32_t _end_clock = \ 67 mips_get_timer() + microseconds * CLOCKS_PER_MICROSECOND; \ 68 _end_clock %= 0x100000000; \ 71 while ( _end_clock < mips_get_timer() ); \ 73 while ( _end_clock > mips_get_timer() ); \ 79 #define RAM_END 0x100000
DEFAULT_INITIAL_EXTENSION Support.