File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 48
48
//! the Rust standard library. For example, methods that return a
49
49
//! `Vec` rather than filling a statically-sized array. This requires
50
50
//! a global allocator; you can use the `global_allocator` feature or
51
- //! provide your own.
51
+ //! provide your own. This is independent of internal direct usages of the
52
+ //! UEFI boot service allocator which may happen anyway, where necessary.
52
53
//! - `global_allocator`: Set [`allocator::Allocator`] as the global Rust
53
54
//! allocator. This is a simple allocator that relies on the UEFI pool
54
55
//! allocator. You can choose to provide your own allocator instead of
Original file line number Diff line number Diff line change @@ -224,6 +224,12 @@ impl BootServices {
224
224
/// Stores the current UEFI memory map in an UEFI-heap allocated buffer
225
225
/// and returns a [`MemoryMap`].
226
226
///
227
+ /// # Parameters
228
+ ///
229
+ /// - `mt`: The memory type for the backing memory on the UEFI heap.
230
+ /// Usually, this is [`MemoryType::LOADER_DATA`]. You can also use a
231
+ /// custom type.
232
+ ///
227
233
/// # Errors
228
234
///
229
235
/// See section `EFI_BOOT_SERVICES.GetMemoryMap()` in the UEFI Specification
You can’t perform that action at this time.
0 commit comments