* This function will initial OS timer */
| 66 | * This function will initial OS timer |
| 67 | */ |
| 68 | void rt_hw_timer_init(void) |
| 69 | { |
| 70 | write_c0_compare(CPU_HZ / 2 / RT_TICK_PER_SECOND); |
| 71 | write_c0_count(0); |
| 72 | mips_unmask_cpu_irq(7); |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Board level initialization |
no test coverage detected