From 13fe461374c0716404e2ee7726781b9cd12dbaa7 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 25 Sep 2021 12:24:24 +0300 Subject: Added default stack location --- arch/riscv/config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'arch/riscv/config.h') diff --git a/arch/riscv/config.h b/arch/riscv/config.h index 3eedb39..8bfe360 100644 --- a/arch/riscv/config.h +++ b/arch/riscv/config.h @@ -1,5 +1,7 @@ #include -#define PM_KERN 0x83800000 +#define PM_KERN 0x83800000 +#define PM_STACK_BASE 0x83900000 +#define PM_STACK_TOP (PM_STACK_BASE + SZ_2M - 2) #define VM_KERN ((-1) - SZ_1G) #define MAX_ORDER 3 @@ -7,4 +9,4 @@ #define O0_WIDTH 9 #define O1_WIDTH 9 #define O2_WIDTH 9 -#define O3_WIDTH 0 +#define O3_WIDTH 9 -- cgit v1.3