Skip to content

Commit

Permalink
revise the heap size of monolithic version of HermitOS
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Dec 16, 2024
1 parent 226515b commit c937038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/x86_64/mm/virtualmem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn init() {
} else {
PageRange::new(
mm::kernel_end_address().as_usize(),
kernel_heap_end().as_usize() + 1,
kernel_heap_end().as_usize() + 1
)
.unwrap()
};
Expand Down Expand Up @@ -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)
}

0 comments on commit c937038

Please sign in to comment.