aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/config.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-09-25 14:56:43 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-09-25 14:56:43 +0300
commit2d173beb3392aff35c8a33f4ac001bf63bb9adc6 (patch)
tree3b9dc8dc03276f5ead11f2e3613536c7f11c6b18 /arch/riscv/config.h
parent13fe461374c0716404e2ee7726781b9cd12dbaa7 (diff)
downloadkmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.tar.gz
kmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.zip
Used memory regions now marked
+ I don't fully trust my memory management system yet, so should probably check the memory regions it gives.
Diffstat (limited to 'arch/riscv/config.h')
-rw-r--r--arch/riscv/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/config.h b/arch/riscv/config.h
index 8bfe360..9db8d8f 100644
--- a/arch/riscv/config.h
+++ b/arch/riscv/config.h
@@ -1,6 +1,6 @@
#include <apos/sizes.h>
#define PM_KERN 0x83800000
-#define PM_STACK_BASE 0x83900000
+#define PM_STACK_BASE (PM_KERN + SZ_2M)
#define PM_STACK_TOP (PM_STACK_BASE + SZ_2M - 2)
#define VM_KERN ((-1) - SZ_1G)