commit | 915ab27828d9e40def47a8cb896bdb9cf9b18a44 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jul 27 19:16:32 2019 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Jul 30 21:36:22 2019 +0200 |
tree | d5fcb2819ab1730d4bc200450e327133e0e840e0 | |
parent | fd0b53fa76952013e44b4c5c28f43e938e5e816d [diff] |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>