Skip to content

Commit

Permalink
some remove typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Feb 16, 2024
1 parent 492f6ef commit f7ab5c8
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 @@ -149,10 +149,10 @@ pub const fn kernel_heap_end() -> VirtAddr {
#[cfg(all(feature = "common-os", not(feature = "newlib")))]
#[inline]
pub const fn kernel_heap_end() -> VirtAddr {
VirtAddr(0x200_0000_0000u64)
VirtAddr(0x100_0000_0000u64)
}

#[cfg(all(not(featur = "common-os"), feature = "newlib"))]
#[cfg(all(not(feature = "common-os"), feature = "newlib"))]
#[inline]
pub const fn kernel_heap_end() -> VirtAddr {
VirtAddr(0x1_0000_0000u64)
Expand Down

0 comments on commit f7ab5c8

Please sign in to comment.