From 70dc7ad8924cf3e30e06b02698b1294fe9553538 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 18 Sep 2025 22:36:36 -0400 Subject: kern: vfs: Add initial vfsops, and mount code This commit introduces the groundwork for mountpoints, filesystems and the VFS as a whole. OMAR is now initialized as its own filesystem by the VFS Signed-off-by: Ian Moffett --- src/sys/os/os_init.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sys/os/os_init.c') diff --git a/src/sys/os/os_init.c b/src/sys/os/os_init.c index 8480a3f..7628574 100644 --- a/src/sys/os/os_init.c +++ b/src/sys/os/os_init.c @@ -32,9 +32,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -73,6 +75,10 @@ main(void) cpu_init(&g_bsp); bsp_ap_startup(); + /* Mount root */ + vfs_init(); + mountlist_init(NULL); + sched_init(); core = this_core(); proc_init(&g_rootproc, 0); -- cgit v1.2.3