diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-19 22:18:16 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-19 22:37:27 -0400 |
commit | c2056f5a365c85780dd2d2835547723f6f60c192 (patch) | |
tree | 86ec83b3b32e9d4fe0e65c1f46e5690811108739 /sys/kern/init_main.c | |
parent | 8c5afdb1601a1864e9fd0416b9d2f42d0bdf489a (diff) |
kernel: Add initramfs and initial VFS code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 6018dfe..09b8d2d 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -30,6 +30,7 @@ #include <sys/reboot.h> #include <sys/syslog.h> #include <sys/sched.h> +#include <sys/mount.h> #include <dev/cons/cons.h> #include <dev/acpi/acpi.h> #include <machine/cpu.h> @@ -52,6 +53,9 @@ main(void) /* Startup the BSP */ cpu_startup(&g_bsp_ci); + /* Init the virtual file system */ + vfs_init(); + /* Start scheduler and bootstrap APs */ sched_init(); mp_bootstrap_aps(&g_bsp_ci); |