feat(fs): add VFS, initrd, and filesystem interface headers

This commit is contained in:
dualfroz committed 2026-08-26 13:03:15 +02:00
1 parent 455e81de5e
commit 94747d8c53
3 files changed
+98

No files matched your search

+17
View File
@@ -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