mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 21:58:20 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user