aboutsummaryrefslogtreecommitdiff
path: root/include/apos/dmem.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/dmem.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/dmem.h')
-rw-r--r--include/apos/dmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apos/dmem.h b/include/apos/dmem.h
index d337e61..3ee93b6 100644
--- a/include/apos/dmem.h
+++ b/include/apos/dmem.h
@@ -14,8 +14,8 @@ vm_t alloc_devmem(struct tcb *t, pm_t dev_start, size_t bytes, vmflags_t flags);
stat_t free_devmem(struct tcb *t, vm_t dev_start);
stat_t dev_free_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr,
- vmflags_t flags, enum mm_order t);
+ vmflags_t flags, enum mm_order t, void *);
stat_t dev_alloc_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr,
- vmflags_t flags, enum mm_order t);
+ vmflags_t flags, enum mm_order t, void *);
#endif /* APOS_DEV_H */