From cd626539ec9ecb5c70956fe2656b43e9f5d10838 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 15 Sep 2025 17:45:16 -0400 Subject: kern/amd64: cpu: Add initial SMP startup code Signed-off-by: Ian Moffett --- src/sys/include/sys/cpuvar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sys/include') diff --git a/src/sys/include/sys/cpuvar.h b/src/sys/include/sys/cpuvar.h index 754335d..06835c6 100644 --- a/src/sys/include/sys/cpuvar.h +++ b/src/sys/include/sys/cpuvar.h @@ -31,6 +31,7 @@ #define _SYS_CPUVAR_H_ 1 #include +#include #if defined(_KERNEL) #include #include @@ -82,5 +83,11 @@ void cpu_init(struct pcore *pcore); * Returns NULL on failure. */ struct pcore *this_core(void); + +/* + * Start up the application processes from the + * bootstrap processor. + */ +void bsp_ap_startup(void); #endif /* _KERNEL */ #endif /* !_SYS_CPUVAR_H_ */ -- cgit v1.2.3