fix(eficore): log when the devicetree of the firmware is restored

This commit is contained in:
alex authored and Alex Zenla committed 2026-10-03 20:23:57 -07:00
1 parent ac4ec69c02
commit ac49899294
1 file changed
+6
+6
View File
@@ -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);