From 61291639524e4aebf93a3315661e7180ac1b9c1e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Dec 2021 21:03:37 +0200 Subject: Right up to init_proc, FUCK YEAH + Lots to do still, should keep a more detailed TODO.txt, among other things implement Sv48 support, make more things single truths etc. --- include/apos/vmem.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/apos/vmem.h') diff --git a/include/apos/vmem.h b/include/apos/vmem.h index 38432ee..2f6b10c 100644 --- a/include/apos/vmem.h +++ b/include/apos/vmem.h @@ -40,6 +40,12 @@ struct sp_mem { */ /* defined by arch */ +void map_vmem(struct vm_branch_t *branch, + pm_t paddr, vm_t vaddr, uint8_t flags, enum mm_order_t order); + +void unmap_vmem(struct vm_branch_t *branch, + vm_t vaddr, enum mm_order_t order); + int sp_mem_init(struct sp_reg_root *r, vm_t start, size_t nums); vm_t alloc_uvmem(struct tcb *r, size_t s, uint8_t flags); -- cgit v1.3