From d2ff961a2a08229e1f2245e8dba9b2275016133c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 10 Oct 2021 23:03:20 +0300 Subject: Prepare proper jump to kernel --- 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 13e166b..f223ee7 100644 --- a/arch/riscv/config.h +++ b/arch/riscv/config.h @@ -2,7 +2,7 @@ #define PM_KERN 0x83800000 #define PM_STACK_BASE (PM_KERN + SZ_2M) #define PM_STACK_TOP (PM_STACK_BASE + SZ_2M - 2) -#define VM_KERN ((-1) - SZ_1G + 1) +#define VM_KERN (-SZ_1G) #define MAX_ORDER 3 #define PAGE_SHIFT 12 -- cgit v1.3