diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-29 23:23:36 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-29 23:53:06 +0200 |
| commit | 4f4d9fdc89c27aa3346467a24b621954f4564d3b (patch) | |
| tree | c4ba4fb583a43b8fb27730b4cdb9b4b1395da91c /arch/riscv/include/vmem.h | |
| parent | 4e5595a089c815febd7a0d42ab62940bf13f73ac (diff) | |
| download | kmi-4f4d9fdc89c27aa3346467a24b621954f4564d3b.tar.gz kmi-4f4d9fdc89c27aa3346467a24b621954f4564d3b.zip | |
Refactoring
+ Mainly just moving stuff out or arch/riscv/ that should be handled in
common/
+ Prepared separate process stack/call stack for server callbacks, rest
to be implemeted soon ish
Diffstat (limited to 'arch/riscv/include/vmem.h')
| -rw-r--r-- | arch/riscv/include/vmem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/riscv/include/vmem.h b/arch/riscv/include/vmem.h index d17aaf1..228b24b 100644 --- a/arch/riscv/include/vmem.h +++ b/arch/riscv/include/vmem.h @@ -13,15 +13,15 @@ #define VM_A (1 << 6) #define VM_D (1 << 7) -enum mm_mode_t { +enum mm_mode { Sv48, Sv39, Sv32, }; typedef size_t vm_t; -struct __packed vm_branch_t { - struct vm_branch_t *leaf[512]; +struct __packed vm_branch { + struct vm_branch *leaf[512]; }; #endif /* APOS_RISCV_VMAP_H */ |
