Searched hist:fa854029 (Results 1 – 1 of 1) sorted by relevance
/openbsd/sys/arch/arm64/stand/efiboot/ |
H A D | efiboot.c | fa854029 Wed Feb 08 09:13:25 GMT 2017 patrick <patrick@openbsd.org> Retry BS->ExitBootServices() if it fails, like on amd64. Also we need to make sure to pass the current mapkey to prove EFI that we know the current memory map and its constraints. Otherwise EFI can choose to only partially exit until we pass the correct key. As we already use the memory map to allocate memory for the kernel, split the previous function into one simply retrieving the table and another one who uses the map to allocate memory. At some point it would be nice to actually pass the table to the kernel since its data is more reliable than the FDT only. While there, sync a bit of style with the amd64 version.
|