fix: extract supplemental and shared_files initialisation

This commit is contained in:
2024-12-04 11:17:46 +00:00
parent 10bfffc4b0
commit f2aba977b4
4 changed files with 28 additions and 14 deletions

View File

@@ -31,6 +31,7 @@
#else
#include "tests/threads/tests.h"
#endif
#include "vm/page.h"
#ifdef VM
#include "vm/frame.h"
#include "devices/swap.h"
@@ -121,6 +122,7 @@ main (void)
exception_init ();
syscall_init ();
#endif
shared_files_init ();
/* Start thread scheduler and enable interrupts. */
thread_start ();