Skip to content

Commit

Permalink
feat(newlib): add support for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyob committed Jul 31, 2024
1 parent 64860fc commit d397630
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/arch/aarch64/mm/virtualmem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,9 @@ pub fn print_information() {
let free_list = KERNEL_FREE_LIST.lock();
info!("Virtual memory free list:\n{free_list}");
}

#[cfg(feature = "newlib")]
#[inline]
pub const fn kernel_heap_end() -> VirtAddr {
KERNEL_VIRTUAL_MEMORY_END
}

0 comments on commit d397630

Please sign in to comment.