aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-01-10 18:58:15 -0500
committerIan Moffett <ian@osmora.org>2024-01-10 18:58:15 -0500
commit3de50c965376fa47e664f2f2701b339765763767 (patch)
tree38cf5ce8f222c4a3a646e7ca3d401456f5032a79 /sys/include
parenta4e6328b6e91d582c4579554c293995e3d4f8851 (diff)
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 <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/machdep.h1
1 files changed, 1 insertions, 0 deletions
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) */