Skip to content
Commit c0a8a952 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_selftest: fix SetVirtualAddressMap unit test



We read the address map before assigning the memory for the pages that will
be mapped to virtual addresses. So these pages will overlap with the entry
for EFI_CONVENTIONAL_MEMORY. We have to ensure that every page is described
at most once in the map.

Remove EFI_CONVENTIONAL_MEMORY from the map that we pass to
SetVirtualAddressMap().

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 73d95c24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment