From 3de50c965376fa47e664f2f2701b339765763767 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 10 Jan 2024 18:58:15 -0500 Subject: kernel/amd64: machdep: Add pre_init() This commit introduces a pre_init() function for setting up things that processor_init() may depend on Signed-off-by: Ian Moffett --- sys/include/sys/machdep.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/machdep.h b/sys/include/sys/machdep.h index c337b17..f494f73 100644 --- a/sys/include/sys/machdep.h +++ b/sys/include/sys/machdep.h @@ -36,6 +36,7 @@ #if defined(_KERNEL) __weak void processor_init(void); +__weak void pre_init(void); __weak void processor_halt(void); #endif /* defined(_KERNEL) */ -- cgit v1.2.3