diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-20 12:28:30 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-20 12:37:55 +0200 |
| commit | dc2e2cc9dc9d7790e23dd9a4ccc265d7bb6d76aa (patch) | |
| tree | ee12863bb4aab536810bbe13638bf21317b37658 /arch/riscv/include/vmem.h | |
| parent | 98255910aa82c27d04ba79704086eca2310b3075 (diff) | |
| download | kmi-dc2e2cc9dc9d7790e23dd9a4ccc265d7bb6d76aa.tar.gz kmi-dc2e2cc9dc9d7790e23dd9a4ccc265d7bb6d76aa.zip | |
Added init back
Diffstat (limited to 'arch/riscv/include/vmem.h')
| -rw-r--r-- | arch/riscv/include/vmem.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/riscv/include/vmem.h b/arch/riscv/include/vmem.h index 2cd3ac7..d17aaf1 100644 --- a/arch/riscv/include/vmem.h +++ b/arch/riscv/include/vmem.h @@ -3,7 +3,6 @@ #include <apos/types.h> #include <apos/attrs.h> -#include <apos/pmem.h> #define VM_V (1 << 0) #define VM_R (1 << 1) @@ -25,11 +24,4 @@ struct __packed vm_branch_t { struct vm_branch_t *leaf[512]; }; - -void map_vmem(struct vm_branch_t *b, - pm_t paddr, vm_t vaddr, uint8_t flags, enum mm_order_t order); - -void unmap_vmem(struct vm_branch_t *b, - vm_t vaddr, enum mm_order_t order); - #endif /* APOS_RISCV_VMAP_H */ |
