aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
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/kern
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/kern')
-rw-r--r--sys/kern/init_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 8158bd0..8b8e431 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -73,6 +73,7 @@ list_timers(void)
void
main(void)
{
+ pre_init();
tty_init();
syslog_init();
PRINT_LOGO();