]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Create a copy of the system flattened device tree, if present
authorMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 14:10:55 +0000 (14:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 28 Mar 2025 15:29:20 +0000 (15:29 +0000)
commit666929e311190b4df0b70d1d8e46c802cba7af97
tree9e9dc91e66dd240d70bfdd662d730cdf88c37eae
parent3860313dd59af568de28f048bccfb644e20ba3b0
[efi] Create a copy of the system flattened device tree, if present

EFI configuration tables may be freed at any time, and there is no way
to be notified when the table becomes invalidated.  Create a copy of
the system flattened device tree (if present), so that we do not risk
being left with an invalid pointer.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/fdt.c
src/include/ipxe/fdt.h
src/interface/efi/efi_fdt.c