VFS mount/umount + sys_open/close/read/fake write
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user