diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/vfs/request.h | 6 | ||||
-rw-r--r-- | src/shared/flags.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 8f5cf92..aabef4f 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -1,4 +1,5 @@ #pragma once +#include <shared/flags.h> enum vfs_backend_type { VFS_BACK_ROOT, @@ -14,11 +15,6 @@ struct vfs_backend { struct process *queue; }; -enum vfs_operation { - VFSOP_OPEN, - VFSOP_WRITE, -}; - // describes an in-process vfs call struct vfs_request { enum vfs_operation type; diff --git a/src/shared/flags.h b/src/shared/flags.h index 9ab8d9d..3f182b9 100644 --- a/src/shared/flags.h +++ b/src/shared/flags.h @@ -1,5 +1,10 @@ #pragma once +enum vfs_operation { + VFSOP_OPEN, + VFSOP_WRITE, +}; + enum { MEMFLAG_PRESENT = 1 << 0, }; |