summaryrefslogtreecommitdiff
path: root/lib/efi_selftest/efi_selftest_set_virtual_address_map.c
Commit message (Collapse)AuthorAgeFilesLines
* efi_loader: correct function comment styleHeinrich Schuchardt2022-01-291-2/+2
| | | | | | Replace @return and @param. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
* efi_selfest: redefine enum efi_test_phaseHeinrich Schuchardt2021-03-251-1/+1
| | | | | | | | Setup will always occur before ExitBootServices(). So eliminate EFI_SETUP_AFTER_BOOTTIME_EXIT. Put the SetVirtualAddressMap() test into a separate class so that we can execute it last. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* efi: Fix typo in documentationSean Anderson2020-10-061-1/+1
| | | | | | | There is an extra space. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* efi_selftest: sharpen ConvertPointer() testHeinrich Schuchardt2019-07-301-8/+22
| | | | | | | Now that ConvertPointer() is implemented throw an error if the result is incorrect. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* efi_selftest: fix SetVirtualAddressMap unit testHeinrich Schuchardt2019-07-301-0/+1
| | | | | | | | | | | | 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>
* efi_selftest: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGEHeinrich Schuchardt2019-07-161-0/+192
Provide a unit test for SetVirtualAddressMap() and ConvertPointer(). As ConvertPointer() is not implemented yet this will spit out some warnings. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>