aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/config.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-20 21:03:37 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-20 21:03:37 +0200
commit61291639524e4aebf93a3315661e7180ac1b9c1e (patch)
treeb524cd94fe1c59c9733e913f1de1e1c68b313bda /arch/riscv/config.h
parent6f8e5772d17d277842be3f6162ddd665a17e5be9 (diff)
downloadkmi-61291639524e4aebf93a3315661e7180ac1b9c1e.tar.gz
kmi-61291639524e4aebf93a3315661e7180ac1b9c1e.zip
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.
Diffstat (limited to 'arch/riscv/config.h')
-rw-r--r--arch/riscv/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/riscv/config.h b/arch/riscv/config.h
index 35e0b6e..fa6785e 100644
--- a/arch/riscv/config.h
+++ b/arch/riscv/config.h
@@ -8,9 +8,9 @@
/* don't touch >:( */
-#define PM_STACK_BASE (PM_KERN + SZ_2M)
-#define PM_STACK_TOP (PM_STACK_BASE + SZ_2M - 2)
-#define VM_DMAP (-SZ_256G) /* testing for now */
+#define PM_STACK_BASE (PM_KERN)
+#define PM_STACK_TOP (RAM_BASE + SZ_1M)
+#define VM_DMAP (0xffffffc000000000) /* testing for now */
#define VM_KERN (VM_DMAP + SZ_256K)
#define TMP_PTE (-SZ_2G)
#define ROOT_PTE (0)