mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 19:52:22 +00:00
fix(eficore): log when the devicetree of the firmware is restored
This commit is contained in:
1 parent
ac4ec69c02
commit
ac49899294
1 file changed
+6
@@ -175,6 +175,12 @@ impl Drop for DeviceTree {
|
||||
}
|
||||
}
|
||||
}
|
||||
if self.installed {
|
||||
info!(
|
||||
"restored the devicetree table of the firmware ({:p})",
|
||||
self.original
|
||||
);
|
||||
}
|
||||
// SAFETY: Nothing refers to the pages any more.
|
||||
if let Err(error) = unsafe { uefi::boot::free_pages(self.pages, self.count) } {
|
||||
warn!("unable to free the devicetree memory: {}", error);
|
||||
|
||||
Reference in new issue
Block a user