aboutsummaryrefslogtreecommitdiff
path: root/include/arch/vmem.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-06 18:14:04 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-06 18:14:04 +0300
commit76517486919657ecadda9867125dc6730f29a5b7 (patch)
tree02d975db2b911ec7b92c4b1be7c5a2510b418ae1 /include/arch/vmem.h
parent608f44306a6f0d5692f5c81bcbfe7a621ec254ba (diff)
downloadkmi-76517486919657ecadda9867125dc6730f29a5b7.tar.gz
kmi-76517486919657ecadda9867125dc6730f29a5b7.zip
pretty massive virtual memory rewrite
+ The system is now a bit simpler and hopefully easier to understand, while also extending the shared memory to be 1:N, where there is one owner who may become a zombie while waiting for the N to die.
Diffstat (limited to 'include/arch/vmem.h')
-rw-r--r--include/arch/vmem.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/arch/vmem.h b/include/arch/vmem.h
index 8f94e07..6e761b6 100644
--- a/include/arch/vmem.h
+++ b/include/arch/vmem.h
@@ -17,6 +17,7 @@
#endif
#include <kmi/types.h>
+#include <kmi/attrs.h>
/**
* Map one virtual page to physical page.
@@ -161,17 +162,15 @@ struct vmem *create_vmem();
* Jump into virtual memory context.
*
* @param b Virtual memory to jump into.
- * @return \ref OK.
*/
-stat_t use_vmem(struct vmem *b);
+void use_vmem(struct vmem *b);
/**
* Destroy virtual memory space.
*
* @param b Virtual memory to destroy.
- * @return \ref OK.
*/
-stat_t destroy_vmem(struct vmem *b);
+void destroy_vmem(struct vmem *b);
/**
* Raw clone user virtual memory.