diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-22 21:14:29 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-22 21:14:29 +0300 |
| commit | d99be9e2912e0726ab779053b43a89e3b9e21490 (patch) | |
| tree | ec7bc982d6377f4fde4b3d85cf291a2698ab4254 /common/vmem.c | |
| parent | ae2843b3999f619da3cd4d6a37e488527dc481ac (diff) | |
| download | kmi-d99be9e2912e0726ab779053b43a89e3b9e21490.tar.gz kmi-d99be9e2912e0726ab779053b43a89e3b9e21490.zip | |
rename vm_branch to vmem
+ Closer to what it's for rather than what it is.
Diffstat (limited to 'common/vmem.c')
| -rw-r--r-- | common/vmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
