efi: Add system table pointer argument to shared functions.
authorRoy Franz <roy.franz@linaro.org>
Sun, 22 Sep 2013 22:45:28 +0000 (15:45 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 25 Sep 2013 11:34:35 +0000 (12:34 +0100)
commit876dc36aceb1682cb01426f507f369aec4f68c76
tree6c53f373b8e39a2c4b50a1a1c24a1aaed205c6c8
parent7721da4c1ebf96ff815987011c1a0edef596b50a
efi: Add system table pointer argument to shared functions.

Add system table pointer argument to shared EFI stub related functions
so they no longer use a global system table pointer as they did when part
of eboot.c.  For the ARM EFI stub this allows us to avoid global
variables completely and thereby not have to deal with GOT fixups.
Not having the EFI stub fixup its GOT, which is shared with the
decompressor, simplifies the relocating of the zImage to a
bootable address.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.c
drivers/firmware/efi/efi-stub-helper.c