From 7237d673904d8568a2f9c290a0247c9d1a07c5d2 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 11 Oct 2021 23:18:47 +0300 Subject: Start designing vmem framework --- arch/riscv/include/vmem.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/riscv/include/vmem.h') diff --git a/arch/riscv/include/vmem.h b/arch/riscv/include/vmem.h index 0aad780..ec2a3ba 100644 --- a/arch/riscv/include/vmem.h +++ b/arch/riscv/include/vmem.h @@ -1,7 +1,6 @@ #ifndef APOS_RISCV_VMAP_H #define APOS_RISCV_VMAP_H -#include #include #include @@ -19,11 +18,4 @@ struct __packed vm_branch_t { struct vm_branch_t *leaf[512]; }; -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); - - #endif /* APOS_RISCV_VMAP_H */ -- cgit v1.3