修正qemu-vexpress-a9平台上第二核时钟不对的问题
This commit is contained in:
parent
234af6aaa2
commit
fb4959bbbb
|
@ -44,7 +44,7 @@ void secondary_cpu_c_start(void)
|
||||||
arm_gic_cpu_init(0, REALVIEW_GIC_CPU_BASE);
|
arm_gic_cpu_init(0, REALVIEW_GIC_CPU_BASE);
|
||||||
arm_gic_set_cpu(0, IRQ_PBA8_TIMER0_1, 0x2);
|
arm_gic_set_cpu(0, IRQ_PBA8_TIMER0_1, 0x2);
|
||||||
|
|
||||||
timer_init(0, 1000);
|
timer_init(0, 10000);
|
||||||
rt_hw_interrupt_install(IRQ_PBA8_TIMER0_1, rt_hw_timer2_isr, RT_NULL, "tick");
|
rt_hw_interrupt_install(IRQ_PBA8_TIMER0_1, rt_hw_timer2_isr, RT_NULL, "tick");
|
||||||
rt_hw_interrupt_umask(IRQ_PBA8_TIMER0_1);
|
rt_hw_interrupt_umask(IRQ_PBA8_TIMER0_1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue