From 61291639524e4aebf93a3315661e7180ac1b9c1e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Dec 2021 21:03:37 +0200 Subject: 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. --- arch/riscv/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arch/riscv/config.h') 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) -- cgit v1.3