File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -259,10 +259,10 @@ impl IndexMut<usize> for MemoryMapRefMut<'_> {
259
259
/// # Usage
260
260
/// The type is intended to be used like this:
261
261
/// 1. create it using [`MemoryMapBackingMemory::new`]
262
- /// 2. pass it to [`BootServices ::get_memory_map`]
262
+ /// 2. pass it to [`boot ::get_memory_map`]
263
263
/// 3. construct a [`MemoryMapOwned`] from it
264
264
///
265
- /// [`BootServices ::get_memory_map`]: crate::table:: boot::BootServices ::get_memory_map
265
+ /// [`boot ::get_memory_map`]: crate::boot::get_memory_map
266
266
#[ derive( Debug ) ]
267
267
#[ allow( clippy:: len_without_is_empty) ] // this type is never empty
268
268
pub ( crate ) struct MemoryMapBackingMemory ( NonNull < [ u8 ] > ) ;
Original file line number Diff line number Diff line change 8
8
//!
9
9
//! # Usecase: Obtain UEFI Memory Map
10
10
//!
11
- //! You can use [`SystemTable ::exit_boot_services`] or
12
- //! [`BootServices ::memory_map`], which returns an properly initialized
11
+ //! You can use [`boot ::exit_boot_services`] or
12
+ //! [`boot ::memory_map`], which returns an properly initialized
13
13
//! [`MemoryMapOwned`].
14
14
//!
15
15
//! # Usecase: Parse Memory Slice as UEFI Memory Map
28
28
//! [`MemoryMapMeta`],
29
29
//! - re-exports [`MemoryDescriptor`], [`MemoryType`], and [`MemoryAttribute`].
30
30
//!
31
- //! [`SystemTable ::exit_boot_services`]: uefi ::table::SystemTable::exit_boot_services
32
- //! [`BootServices ::memory_map`]: uefi::table:: boot::BootServices ::memory_map
31
+ //! [`boot ::exit_boot_services`]: crate ::table::SystemTable::exit_boot_services
32
+ //! [`boot ::memory_map`]: crate:: boot::memory_map
33
33
34
34
mod api;
35
35
mod impl_;
@@ -49,7 +49,7 @@ impl Align for MemoryDescriptor {
49
49
}
50
50
}
51
51
52
- /// A unique identifier of a UEFI memory map, used to tell the firmware that one
52
+ /// A unique identifier of a UEFI memory map, used to tell the firmware that one
53
53
/// has the latest valid memory map when exiting boot services.
54
54
///
55
55
/// If the memory map changes, due to any allocation or deallocation, this value
You can’t perform that action at this time.
0 commit comments