From d99be9e2912e0726ab779053b43a89e3b9e21490 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 22 May 2022 21:14:29 +0300 Subject: rename vm_branch to vmem + Closer to what it's for rather than what it is. --- common/vmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/vmem.c') diff --git a/common/vmem.c b/common/vmem.c index b665491..7ea83b1 100644 --- a/common/vmem.c +++ b/common/vmem.c @@ -118,7 +118,7 @@ stat_t free_uvmem(struct tcb *t, vm_t va) return status; } -stat_t alloc_uvmem_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, +stat_t alloc_uvmem_wrapper(struct vmem *b, pm_t *offset, vm_t vaddr, vmflags_t flags, enum mm_order order, void *data) { *offset = alloc_page(order, *offset); @@ -133,7 +133,7 @@ stat_t alloc_uvmem_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, return (ret == INFO_SEFF) ? OK : ret; } -stat_t alloc_shared_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, +stat_t alloc_shared_wrapper(struct vmem *b, pm_t *offset, vm_t vaddr, vmflags_t flags, enum mm_order order, void *data) { if (order != MM_O0) @@ -148,7 +148,7 @@ stat_t alloc_shared_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, return (ret == INFO_SEFF) ? OK : ret; } -stat_t free_uvmem_wrapper(struct vm_branch *b, pm_t *offset, vm_t vaddr, +stat_t free_uvmem_wrapper(struct vmem *b, pm_t *offset, vm_t vaddr, vmflags_t flags, enum mm_order order, void *data) { UNUSED(flags); -- cgit v1.3