]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf56d7e3da895067db8cdde67786cfdeca3489ef2
tree6c53f373b8e39a2c4b50a1a1c24a1aaed205c6c8
parentfc34d5ed37f69746ed6fc3fac1f50acb69294e33
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