diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-29 21:58:43 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-29 21:58:43 -0500 |
commit | f8bb4e99a64aa9df31465ee817fc5623a2822b63 (patch) | |
tree | 7bf4550fd65d26157adcc5fac07d0de146bca232 /sys/include/vm/pmap.h | |
parent | 31aa84528af5a92c3019e6abaa949eb20a4e73d9 (diff) |
kernel/amd64: pmap: Add user pte flag
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/pmap.h')
-rw-r--r-- | sys/include/vm/pmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h index 516c2ea..85c6753 100644 --- a/sys/include/vm/pmap.h +++ b/sys/include/vm/pmap.h @@ -52,6 +52,7 @@ /* prot flags for mappings */ #define PROT_WRITE __BIT(0) /* Writable */ #define PROT_EXEC __BIT(1) /* Executable */ +#define PROT_USER __BIT(2) /* User accessible */ #define is_vas_valid(vas) (vas.top_level != 0) |