diff options
Diffstat (limited to 'arch/riscv/config.h')
| -rw-r--r-- | arch/riscv/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/riscv/config.h b/arch/riscv/config.h index fa3c178..35e0b6e 100644 --- a/arch/riscv/config.h +++ b/arch/riscv/config.h @@ -2,14 +2,16 @@ /* --- START ARCH USER CONFIG VALUES --- */ /* physical address to which the kernel will be loaded */ -#define PM_KERN 0x83800000 +#define RAM_BASE 0x80000000 +#define PM_KERN (RAM_BASE + SZ_512K) /* --- END ARCH USER CONFIG VALUES --- */ /* don't touch >:( */ #define PM_STACK_BASE (PM_KERN + SZ_2M) #define PM_STACK_TOP (PM_STACK_BASE + SZ_2M - 2) -#define VM_KERN (-SZ_1G) +#define VM_DMAP (-SZ_256G) /* testing for now */ +#define VM_KERN (VM_DMAP + SZ_256K) #define TMP_PTE (-SZ_2G) #define ROOT_PTE (0) #define ROOT_REGION (SZ_4K) |
