diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-01 20:36:15 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-01 20:36:15 +0300 |
| commit | b30ee14270a44e48167934b9b3923b4280bdc855 (patch) | |
| tree | fe900fd442e834f857927e9094ce7cbdda59b9fd /arch/riscv/include/vmap.h | |
| parent | 2d173beb3392aff35c8a33f4ac001bf63bb9adc6 (diff) | |
| download | kmi-b30ee14270a44e48167934b9b3923b4280bdc855.tar.gz kmi-b30ee14270a44e48167934b9b3923b4280bdc855.zip | |
First jump to virtual memory!
+ Lots of bughunting to do, probably lots of off-by-one and so on
errors, and I make a lot of naive and possibly dangerous assumptions.
But cool start nonetheless. Should also come up with some method of
exchanging data between the init and actual kernel, probably some struct
of some sort. TODO
Diffstat (limited to 'arch/riscv/include/vmap.h')
| -rw-r--r-- | arch/riscv/include/vmap.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/riscv/include/vmap.h b/arch/riscv/include/vmap.h deleted file mode 100644 index aee3725..0000000 --- a/arch/riscv/include/vmap.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef APOS_RISCV_VMAP_H -#define APOS_RISCV_VMAP_H - -#include <apos/sizes.h> - -#define VM_V (1 << 0) -#define VM_R (1 << 1) -#define VM_W (1 << 2) -#define VM_X (1 << 3) -#define VM_U (1 << 4) -#define VM_G (1 << 5) -#define VM_A (1 << 6) -#define VM_D (1 << 7) - -#endif /* APOS_RISCV_VMAP_H */ |
