1 #pragma once 2 #include <common/glib.h> 3 4 #include <common/asm.h> 5 6 #define MAX_SUPPORTED_PROCESSOR_NUM 1024 7 8 9 10 extern uchar _apu_boot_start[]; 11 extern uchar _apu_boot_end[]; 12 /** 13 * @brief 初始化对称多核处理器 14 * 15 */ 16 void smp_init(); 17 18 int kick_cpu(uint32_t cpu_id); 19 20 uint32_t smp_get_total_cpu();