From 2d173beb3392aff35c8a33f4ac001bf63bb9adc6 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 25 Sep 2021 14:56:43 +0300 Subject: Used memory regions now marked + I don't fully trust my memory management system yet, so should probably check the memory regions it gives. --- arch/riscv/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/riscv/config.h') 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 #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) -- cgit v1.3