We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5afc2 commit 3dcb3a9Copy full SHA for 3dcb3a9
uefi/src/boot.rs
@@ -245,7 +245,11 @@ pub(crate) fn memory_map_size() -> MemoryMapMeta {
245
}
246
247
/// Stores the current UEFI memory map in an UEFI-heap allocated buffer
248
-/// and returns a [`MemoryMapOwned`].
+/// and returns a [`MemoryMapOwned`].
249
+///
250
+/// The implementation tries to mitigate some UEFI pitfalls, such as getting
251
+/// the right allocation size for the memory map. Therefore, a return value of
252
+/// [`Status::BUFFER_TOO_SMALL`] should be treated as unrecoverable error.
253
///
254
/// # Parameters
255
0 commit comments