[U-Boot] [BUG] efi_loader: efi_set_virtual_address_map() does not support runtime drivers

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Jul 5 19:00:05 UTC 2018


The function  efi_set_virtual_address_map() is left after hitting the
first EFI_RUNTIME_SERVICES_CODE to relocate. But if EFI runtime drivers
have been loaded into U-Boot there will be multiple such blocks.

SetVirtualAddressMap() as described in the UEFI spec is rather complex
to implement. It involves runtime drivers updating the pointers they
hold upon an event they receive and the firmware reapplying the
relocation information provided when loading the images of the runtime
drivers.

Best regards

Heinrich


More information about the U-Boot mailing list