kernel: rework init

This commit is contained in:
Matheus
2025-08-14 20:25:43 -03:00
parent fb6cbe49d7
commit 607566531d
41 changed files with 268 additions and 164 deletions
+3
View File
@@ -12,6 +12,7 @@
#include <kernel/vmmcache.h>
#include <kernel/pipefs.h>
#include <kernel/auth.h>
#include <kernel/init.h>
#define INODE_ROOT 2
@@ -2010,3 +2011,5 @@ void ext2_init() {
nodecache = slab_newcache(sizeof(ext2node_t), 0, NULL, NULL);
__assert(nodecache);
}
INIT_ROUTINE_DEFINE(ext2, INIT_ROUTINE_FLAGS_NONE, ext2_init, vfs);