/* * bsp_start * * This routine does the bulk of the system initialization. */ void bsp_start( void ) { bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ; mips_install_isr_entries(); /* Install generic MIPS exception handler */ }
/* * bsp_start * * This routine does the bulk of the system initialization. */ void bsp_start( void ) { unsigned int compare = 0; mips_set_sr( 0x7f00 ); /* all interrupts unmasked but globally off */ /* depend on the IRC to take care of things */ __asm__ volatile ("mtc0 %0, $11\n" :: "r" (compare)); mips_install_isr_entries(); }
rtems_status_code bsp_interrupt_facility_initialize(void) { mips_install_isr_entries(); return RTEMS_SUCCESSFUL; }