Re: [PATCH 02/16] Add system pointer argument to shared EFI stubrelated functions so they no longer use global system table pointer as theydid when part of eboot.c. This code is now shared, so using a globalvariable as part of the interface is not that nice. Also, by avoiding anyglobal variables in the ARM EFI stub, this allows the code to be positionindependent without requiring GOT fixups.

From: Mark Salter
Date: Tue Aug 13 2013 - 09:57:22 EST


On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote:
> Signed-off-by: Roy Franz <roy.franz@xxxxxxxxxx>
> ---
> arch/x86/boot/compressed/eboot.c | 38 +++++++------
> drivers/firmware/efi/efi-stub-helper.c | 96 +++++++++++++++++---------------
> 2 files changed, 72 insertions(+), 62 deletions(-)

Tested on arm64.

Acked-by: Mark Salter <msalter@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/