aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-28 19:55:18 -0400
committerIan Moffett <ian@osmora.org>2024-03-28 22:47:26 -0400
commitdf13d303b9c504301f1a4cda5afe3634d7eac754 (patch)
tree4e787eea81df8eeea40cadc9b7b483e0dadf3fdf /sys/kern
parentae126e0e427f4a5b82ecc9c096c524d45088a430 (diff)
kernel: Add driver subsystem
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-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 c55ece2..c78d401 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -33,6 +33,7 @@
#include <sys/timer.h>
#include <sys/sched.h>
#include <sys/vfs.h>
+#include <sys/driver.h>
#include <machine/cpu_mp.h>
#include <firmware/acpi/acpi.h>
#include <vm/physseg.h>
@@ -92,6 +93,8 @@ main(void)
vfs_init();
+ DRIVERS_INIT();
+
sched_init();
ci = this_cpu();