File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 88 ` Option<Result<FramebufferTag, UnknownFramebufferType>> ` instead of
99 ` Option<FramebufferTag> ` which prevents a possible panic. If the ` --unstable `
1010 feature is used, ` UnknownFramebufferType ` implements ` core::error::Error ` .
11+ - Fixed misleading documentation of the ` BootInformation::efi_memory_map_tag `
12+ tag.
1113
1214## 0.14.2 (2023-03-17)
1315- documentation fixes
Original file line number Diff line number Diff line change @@ -276,7 +276,10 @@ impl BootInformation {
276276 . map ( |tag| unsafe { & * ( tag as * const Tag as * const RsdpV2Tag ) } )
277277 }
278278
279- /// Search for the EFI Memory map tag.
279+ /// Search for the EFI Memory map tag, if the boot services were exited.
280+ /// Otherwise, if the [`TagType::EfiBs`] tag is present, this returns `None`
281+ /// as it is strictly recommended to get the memory map from the `uefi`
282+ /// services.
280283 pub fn efi_memory_map_tag ( & self ) -> Option < & EFIMemoryMapTag > {
281284 // If the EFIBootServicesNotExited is present, then we should not use
282285 // the memory map, as it could still be in use.
You can’t perform that action at this time.
0 commit comments