summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2021-03-14 20:04:24 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-03-25 20:07:18 +0100
commit073e5db6729cd36154d0533fda3b4b485957c163 (patch)
tree1d37170625d3a24a8144ae13cbca308cab9a16ea /lib/efi_loader/efi_device_path.c
parent4bad14ae793c29071712db0004fb9c8ec697f161 (diff)
efi_loader: fix memory type for memory reservation block
The (yet unreleased version of the) devicetree specification clearly states that: As with the /reserved-memory node, when booting via UEFI entries in the Memory Reservation Block must also be listed in the system memory map obtained via the GetMemoryMap() toi protect against allocations by UEFI applications. The memory reservation block entries should be listed with type EfiReservedMemoryType. This restores the behaviour that was changed by commit 4cbb2930bd8c ("efi_loader: consider no-map property of reserved memory"). Fixes: 4cbb2930bd8c ("efi_loader: consider no-map property of reserved memory") Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions