Add a way to initialize VFS globals.

This is needed since the kernel loader doesn't even zero out bss,
much less call any static constructors.
This commit is contained in:
Andreas Kling 2018-10-19 11:20:49 +02:00
commit 2d1d01661b
Notes: sideshowbarker 2024-07-19 18:46:13 +09:00
4 changed files with 16 additions and 2 deletions

View file

@ -14,6 +14,8 @@ class FileSystem;
class VirtualFileSystem {
public:
static void initializeGlobals();
struct Node {
InodeIdentifier inode;