From 9161de279ca64305636ef5ab8e32af88abf90f6f Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 15 Dec 2024 00:52:54 +0100 Subject: [PATCH] revise the heap size of monolithic version of HermitOS --- src/arch/x86_64/mm/virtualmem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86_64/mm/virtualmem.rs b/src/arch/x86_64/mm/virtualmem.rs index ba57fea85b..5a8654adac 100644 --- a/src/arch/x86_64/mm/virtualmem.rs +++ b/src/arch/x86_64/mm/virtualmem.rs @@ -168,5 +168,5 @@ pub const fn kernel_heap_end() -> VirtAddr { #[cfg(feature = "common-os")] #[inline] pub const fn kernel_heap_end() -> VirtAddr { - VirtAddr::new(0x100_0000_0000u64) + VirtAddr::new(0xff_ffff_ffffu64) }