summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorxqyjlj <[email protected]>2023-10-25 20:31:25 +0800
committerGitHub <[email protected]>2023-10-25 20:31:25 +0800
commit3283f54c7a0444b2e51ec79a4da57e7871528f05 (patch)
treee4bcd748ad2362f16d0dea5c5da62922de466999 /bsp
parent91fc52df3635d5dda8285616420f08efa79cea04 (diff)
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
Diffstat (limited to 'bsp')
-rw-r--r--bsp/qemu-virt64-aarch64/drivers/secondary_cpu.c4
1 files changed, 3 insertions, 1 deletions
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