From 5793a61eb824a7b97e9bab5913b595a778205cef Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 22 May 2022 15:05:39 +0300 Subject: improved tcb handling in preparation for processes --- include/apos/vmem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/apos/vmem.h') diff --git a/include/apos/vmem.h b/include/apos/vmem.h index f1b0d19..036780f 100644 --- a/include/apos/vmem.h +++ b/include/apos/vmem.h @@ -12,7 +12,9 @@ vm_t alloc_shared_uvmem(struct tcb *r, size_t size, vmflags_t flags); vm_t ref_shared_uvmem(struct tcb *r1, struct tcb *r2, vm_t va, vmflags_t flags); stat_t free_uvmem(struct tcb *r, vm_t a); + stat_t init_uvmem(struct tcb *r, vm_t base, vm_t top); +stat_t destroy_uvmem(struct tcb *r); stat_t alloc_uvmem_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, vmflags_t flags, enum mm_order order, void *data); -- cgit v1.3