working on reading elf from initrd, and getting it launched with the new scheduler
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user