Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-28 Thread Alexander Graf
On 26.01.19 10:31, Heinrich Schuchardt wrote: > On 1/25/19 10:43 PM, Ard Biesheuvel wrote: >> On Fri, 25 Jan 2019 at 19:21, Heinrich Schuchardt wrote: >>> >>> On 1/23/19 6:33 PM, Alexander Graf wrote: While discussing something compeltely different, Ard pointed out that it might be

Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-26 Thread Heinrich Schuchardt
On 1/25/19 10:43 PM, Ard Biesheuvel wrote: > On Fri, 25 Jan 2019 at 19:21, Heinrich Schuchardt wrote: >> >> On 1/23/19 6:33 PM, Alexander Graf wrote: >>> While discussing something compeltely different, Ard pointed out >>> that it might be legal to omit calling SetVirtualAddressMap altogether.

Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-25 Thread Ard Biesheuvel
On Fri, 25 Jan 2019 at 19:21, Heinrich Schuchardt wrote: > > On 1/23/19 6:33 PM, Alexander Graf wrote: > > While discussing something compeltely different, Ard pointed out > > that it might be legal to omit calling SetVirtualAddressMap altogether. > > > > While that sounds great, we currently

Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-25 Thread Heinrich Schuchardt
On 1/23/19 6:33 PM, Alexander Graf wrote: > While discussing something compeltely different, Ard pointed out > that it might be legal to omit calling SetVirtualAddressMap altogether. > > While that sounds great, we currently rely on that call to remove > all function pointers to code that we do

[U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-23 Thread Alexander Graf
While discussing something compeltely different, Ard pointed out that it might be legal to omit calling SetVirtualAddressMap altogether. While that sounds great, we currently rely on that call to remove all function pointers to code that we do not support outside of boot services. So let's patch