Skip to content

Commit

Permalink
Merge pull request #1343 from johnyob/ajob410@feat/newlib-support-aar…
Browse files Browse the repository at this point in the history
…ch64

feat(newlib): add support for aarch64
  • Loading branch information
mkroening authored Jul 31, 2024
2 parents c9a4757 + d397630 commit ff58852
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 ff58852

Please sign in to comment.