4 ms·
> I think that it was something along the lines of some implementations (including TianoCore) required the ExitBootServices call to be performed more than once
by mjg59 9y ago
> I think that it was something along the lines of some implementations (including TianoCore) required the ExitBootServices call to be performed more than once to exit the UEFI-controlled environment correctly?
As hinted at in andreiw's reply, this is entirely spec-compliant (if really annoying). Quoting from the spec:
"Firmware implementation may choose to do a partial shutdown of the boot services during the first call to ExitBootServices(). A UEFI OS loader should not make calls to any boot service function other than GetMemoryMap() after the first call to ExitBootServices()."
- fao_ 9y agoAh, yes you're right, I remember reading that now. This means that I truly do not remember what the actual error was that caused me to give up.