diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-15 17:45:16 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-15 17:45:16 -0400 |
commit | cd626539ec9ecb5c70956fe2656b43e9f5d10838 (patch) | |
tree | 04b42699ebbbcda36e3cdae25c99bcc591669134 /src/sys/include | |
parent | b5324f0b5b0fdba981f039fe2812a170c3f72ca4 (diff) |
kern/amd64: cpu: Add initial SMP startup code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/sys/cpuvar.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <sys/types.h> +#include <sys/cdefs.h> #if defined(_KERNEL) #include <os/sched.h> #include <machine/mdcpu.h> @@ -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_ */ |