diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-08 18:15:13 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-08 18:15:13 -0400 |
commit | 44ef655a0afc3d2c8aa305f94b412f9d89bec846 (patch) | |
tree | a04fb4070745ad66f267695d91cfa92e5a573a57 /sys/include/arch | |
parent | d5381223cea600ff007069bc1313de142cd06972 (diff) |
kernel/amd64: Pass CPU info to cpu_startup()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch')
-rw-r--r-- | sys/include/arch/amd64/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/cpu.h b/sys/include/arch/amd64/cpu.h index ef2eb78..84391ba 100644 --- a/sys/include/arch/amd64/cpu.h +++ b/sys/include/arch/amd64/cpu.h @@ -41,7 +41,8 @@ struct cpu_info { struct tss_entry *tss; }; -void cpu_startup(void); +void cpu_startup(struct cpu_info *ci); struct cpu_info *this_cpu(void); +extern struct cpu_info g_bsp_ci; #endif /* !_MACHINE_CPU_H_ */ |