working on reading elf from initrd, and getting it launched with the new scheduler

This commit is contained in:
2026-06-30 19:26:31 -05:00
parent ce81d4eb31
commit af6c1c94cf
21 changed files with 253 additions and 151 deletions

View File

@@ -25,7 +25,8 @@ typedef struct vfs_node {
write_type_t write;
finddir_type_t finddir;
struct vfs_node* ptr;
struct vfs_node* mnt;
void* data;
} vfs_node_t;
typedef struct {
@@ -40,4 +41,7 @@ void mount(vfs_node_t* _mnt, vfs_node_t* _fs);
int open(const char* path, int flags);
int read(int fd, void* buf, size_t sz);
int fstat(int fd, file_t* _f);
int fseek(int fd, size_t offset);
#endif