aboutsummaryrefslogtreecommitdiff
path: root/include/apos/mem.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-21 21:02:17 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-21 21:02:17 +0300
commit8da0171e5ca3492cdb34422184a1c96acd0b5165 (patch)
treec125b7286f929c8ff7f8a2b938cec84328e99de4 /include/apos/mem.h
parent836026dbba64793afc0d2591ffdb6fb39b696977 (diff)
downloadkmi-8da0171e5ca3492cdb34422184a1c96acd0b5165.tar.gz
kmi-8da0171e5ca3492cdb34422184a1c96acd0b5165.zip
add status info to memory mappings
+ next up would probably be to start working on process/thread relationships, largely as documented. Still not entirely sure about how I want to handle fork, but I suppose I might figure it out at some point.
Diffstat (limited to 'include/apos/mem.h')
-rw-r--r--include/apos/mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apos/mem.h b/include/apos/mem.h
index bc60f21..f3eded7 100644
--- a/include/apos/mem.h
+++ b/include/apos/mem.h
@@ -45,6 +45,8 @@
#define MR_SHARED (1 << 9)
/* owner of shared region */
#define MR_OWNED (1 << 10)
+/* copy on write */
+#define MR_COW (1 << 11)
extern size_t __mm_shifts[10];
extern size_t __mm_widths[10];