From ac498992946a14eba00cbcbbe8c3d86aa3e38c76 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 3 Oct 2026 19:55:58 -0700 Subject: [PATCH] fix(eficore): log when the devicetree of the firmware is restored --- crates/eficore/src/devicetree.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/eficore/src/devicetree.rs b/crates/eficore/src/devicetree.rs index 253eb57..38e84d2 100644 --- a/crates/eficore/src/devicetree.rs +++ b/crates/eficore/src/devicetree.rs @@ -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);