VFS mount/umount + sys_open/close/read/fake write

This commit is contained in:
2026-04-10 14:31:38 +02:00
parent 17589d72cf
commit aff113d02b
10 changed files with 592 additions and 12 deletions
+6
View File
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <limine.h>
#include <stddef.h>
struct tar_header
{
@@ -33,4 +34,9 @@ int tar_init_fs(struct limine_file* file);
struct tar_header* tar_file_lookup(const char* filename);
void tar_file_read(struct tar_header* header, uint8_t* buf);
int tar_open(const char* path, int flags);
int tar_close(int fd);
int64_t tar_read(int fd, char* buf, size_t count);
int64_t tar_write(int fd, char* buf, size_t count);
#endif