aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-01-24 23:24:45 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2026-01-24 23:24:45 +0200
commit6fb77c70559782a9928432af5cc6f83906a530c1 (patch)
tree5fee1c302e088445576e6c6bccac8414f8e34377 /include
parent1eaac15cdb220df7536c74774a1ce7d1f0519c63 (diff)
downloadkmi-6fb77c70559782a9928432af5cc6f83906a530c1.tar.gz
kmi-6fb77c70559782a9928432af5cc6f83906a530c1.zip
make physical memory request a capability
+ Seems obvious, not sure why I hadn't done it already
Diffstat (limited to 'include')
-rw-r--r--include/kmi/syscalls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/kmi/syscalls.h b/include/kmi/syscalls.h
index a4d2c52..30e46be 100644
--- a/include/kmi/syscalls.h
+++ b/include/kmi/syscalls.h
@@ -291,7 +291,10 @@ enum sys_cap {
CAP_SIGNAL = (1 << 6),
/** Thread is allowed to request shared memory */
- CAP_SHARED = (1 << 7)
+ CAP_SHARED = (1 << 7),
+
+ /** Thread is allowed to request physical memory */
+ CAP_PHYSICAL = (1 << 8),
};
/**