aboutsummaryrefslogtreecommitdiff
path: root/pk/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'pk/vm.h')
-rw-r--r--pk/vm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pk/vm.h b/pk/vm.h
index 8f5e55f..cdd4f77 100644
--- a/pk/vm.h
+++ b/pk/vm.h
@@ -21,9 +21,9 @@ void vm_init();
int handle_page_fault(uintptr_t vaddr, int prot);
void populate_mapping(const void* start, size_t size, int prot);
uintptr_t __do_mmap(uintptr_t addr, size_t length, int prot, int flags, file_t* file, off_t offset);
-sysret_t do_mmap(uintptr_t addr, size_t length, int prot, int flags, int fd, off_t offset);
-sysret_t do_munmap(uintptr_t addr, size_t length);
-sysret_t do_mremap(uintptr_t addr, size_t old_size, size_t new_size, int flags);
-sysret_t do_brk(uintptr_t addr);
+uintptr_t do_mmap(uintptr_t addr, size_t length, int prot, int flags, int fd, off_t offset);
+int do_munmap(uintptr_t addr, size_t length);
+uintptr_t do_mremap(uintptr_t addr, size_t old_size, size_t new_size, int flags);
+uintptr_t do_brk(uintptr_t addr);
#endif