mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
refactor(kernel): ramfs loading
This commit is contained in:
@ -139,6 +139,14 @@ namespace vfs
|
||||
|
||||
public:
|
||||
vfsInode *FileSystemRoots = nullptr;
|
||||
|
||||
/**
|
||||
* Default reserved roots:
|
||||
*
|
||||
* 0 - Native
|
||||
* 1 - Linux
|
||||
* 2 - Windows
|
||||
*/
|
||||
std::unordered_map<ino_t, FileNode *> FileRoots;
|
||||
|
||||
bool PathIsRelative(const char *Path);
|
||||
|
@ -127,11 +127,11 @@ namespace vfs
|
||||
bool TestArchive(uintptr_t Address);
|
||||
void ReadArchive(uintptr_t Address, size_t Size);
|
||||
|
||||
USTAR(){};
|
||||
~USTAR(){};
|
||||
USTAR() = default;
|
||||
~USTAR() = default;
|
||||
};
|
||||
}
|
||||
|
||||
bool TestAndInitializeUSTAR(uintptr_t Address, size_t Size);
|
||||
bool TestAndInitializeUSTAR(uintptr_t Address, size_t Size, size_t Index);
|
||||
|
||||
#endif // !__FENNIX_KERNEL_FILESYSTEM_USTAR_H__
|
||||
|
Reference in New Issue
Block a user