aboutsummaryrefslogtreecommitdiff
path: root/sys/include/arch
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-08 18:15:13 -0400
committerIan Moffett <ian@osmora.org>2024-06-08 18:15:13 -0400
commit44ef655a0afc3d2c8aa305f94b412f9d89bec846 (patch)
treea04fb4070745ad66f267695d91cfa92e5a573a57 /sys/include/arch
parentd5381223cea600ff007069bc1313de142cd06972 (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.h3
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_ */