diff options
author | dzwdz | 2021-09-12 18:21:43 +0200 |
---|---|---|
committer | dzwdz | 2021-09-12 18:21:43 +0200 |
commit | a21d273d9b8b02f2f6e02c913b64a29d06253f85 (patch) | |
tree | 8bf1853c05fe90e91e12e02bf79d0717e96b9d22 /src | |
parent | badde3808a8a2ef512ae52af5d91f419585e27fd (diff) |
move `enum vs_operation` to shared/flags.h
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, }; |