feat(fs): add VFS, initrd, and filesystem interface headers
This commit is contained in:
1 parent
455e81de5e
commit
94747d8c53
3 files changed
+98
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#ifndef FROSTBYTE_INITRD_H
|
||||
#define FROSTBYTE_INITRD_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
typedef struct UstarEntry {
|
||||
const char* name;
|
||||
const uint8* data;
|
||||
uint64 size;
|
||||
bool isDir;
|
||||
} UstarEntry;
|
||||
|
||||
void initrdInit(uint64 start, uint64 end);
|
||||
uint32 initrdCount(void);
|
||||
bool initrdAt(uint32 index, UstarEntry* out);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user