Re: [PATCH v2 1/1] x86/boot/compressed: Fix reloading of GDTR post-relocation

From: Arvind Sankar
Date: Thu Feb 27 2020 - 13:03:10 EST


On Thu, Feb 27, 2020 at 06:47:55PM +0100, Ard Biesheuvel wrote:
>
> Interesting. I am going to rip most of the EFI handover protocol stuff
> out of OVMF, since it is mostly unnecessary, and having the PE/COFF
> loader put the image in the correct place right away is a nice
> complimentary improvement to that. (Note that the OVMF implementation
> of the EFI handover protocol does not currently honor the preferred
> address from the setup header anyway)

Yeah, for my testing I'm running the image from the EFI shell, which
enters via PE entry point and honors the pref address.