From 3283f54c7a0444b2e51ec79a4da57e7871528f05 Mon Sep 17 00:00:00 2001 From: xqyjlj Date: Wed, 25 Oct 2023 20:31:25 +0800 Subject: 🎈 perf: perf rt_hw_interrupt_disable/enable (#8042) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Shell Co-authored-by: Shell --- bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bsp') diff --git a/bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c b/bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c index 844f73ce8d..6d31a4d894 100644 --- a/bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c +++ b/bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c @@ -12,6 +12,7 @@ #include "gic.h" #include "interrupt.h" #include "mmu.h" +#include "gtimer.h" #ifdef RT_USING_SMP @@ -29,8 +30,9 @@ void rt_hw_secondary_cpu_bsp_start(void) arm_gic_cpu_init(0, 0); // local timer init + rt_hw_gtimer_init(); rt_system_scheduler_start(); } -#endif // SMP \ No newline at end of file +#endif // SMP -- cgit v1.3.1