aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-10 17:25:27 -0400
committerIan Moffett <ian@osmora.org>2024-07-10 17:25:27 -0400
commit2d09126d0e3e54a4d37226e2f54f5a8372f49699 (patch)
treeda1274818b1082ca57b5a356923d4d5005749f18 /sys/kern/init_main.c
parente4c6ae42b3cf769db9525a3fa4d0cfb2db864bbf (diff)
kernel: Init drivers
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index a8154f8..e748293 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -33,6 +33,7 @@
#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/exec.h>
+#include <sys/driver.h>
#include <sys/panic.h>
#include <dev/cons/cons.h>
#include <dev/acpi/acpi.h>
@@ -80,6 +81,8 @@ main(void)
/* Init the virtual file system */
vfs_init();
+ DRIVERS_INIT();
+
/* Start scheduler and bootstrap APs */
sched_init();
mp_bootstrap_aps(&g_bsp_ci);