Initrd parsing and more VFS funcs.

Finished the initrd_parse() function for now and added vfs_open(), vfs_close() and vfs_write()
This commit is contained in:
Matheus
2022-08-04 19:31:10 -03:00
parent 28710b6aa8
commit 479c51ec52
4 changed files with 87 additions and 9 deletions
+2 -2
View File
@@ -8,8 +8,8 @@
#define TYPE_DIR 4
#define TYPE_BLOCKDEV 6
#define TYPE_REGULAR 8
#define TYPE_IFLNK 10
#define TYPE_IFSOCK 12
#define TYPE_LINK 10
#define TYPE_SOCKET 12
#define GETMODE(m) (0xFFF & m)
#define GETTYPE(m) ((m >> 12) & 0xF)