Skip to content

Commit

Permalink
[doc] fix doc link error at axhal/src/paging.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Sep 26, 2024
1 parent d8603d9 commit bfb9068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/axhal/src/paging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn set_kernel_page_table_root(root_paddr: PhysAddr) {
///
/// # Panics
///
/// It must be called after [`set_kernel_page_table`], otherwise it will panic.
/// It must be called after [`set_kernel_page_table_root`], otherwise it will panic.
pub fn kernel_page_table_root() -> PhysAddr {
*KERNEL_PAGE_TABLE_ROOT
.get()
Expand Down
4 changes: 2 additions & 2 deletions modules/axmm/src/aspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ impl AddrSpace {
}

/// Finds a free area that can accommodate the given size.

///
/// The search starts from the given hint address, and the area should be within the given limit range.

///
/// Returns the start address of the free area. Returns None if no such area is found.
pub fn find_free_area(
&self,
Expand Down

0 comments on commit bfb9068

Please sign in to comment.