linux-stable/drivers/firmware/efi
Ard Biesheuvel bd669475d1 efi: efistub: Refactor stub components
In order to move from the #include "../../../xxxxx.c" anti-pattern used
by both the x86 and arm64 versions of the stub to a static library
linked into either the kernel proper (arm64) or a separate boot
executable (x86), there is some prepatory work required.

This patch does the following:
- move forward declarations of functions shared between the arch
  specific and the generic parts of the stub to include/linux/efi.h
- move forward declarations of functions shared between various .c files
  of the generic stub code to a new local header file called "efistub.h"
- add #includes to all .c files which were formerly relying on the
  #includor to include the correct header files
- remove all static modifiers from functions which will need to be
  externally visible once we move to a static library

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2014-07-07 20:29:48 +01:00
..
arm-stub.c efi: efistub: Refactor stub components 2014-07-07 20:29:48 +01:00
cper.c Move cper.c from drivers/acpi/apei to drivers/firmware/efi 2013-10-31 11:27:04 -07:00
efi-pstore.c pstore: Don't allow high traffic options on fragile devices 2013-12-20 13:12:01 -08:00
efi-stub-helper.c efi: efistub: Refactor stub components 2014-07-07 20:29:48 +01:00
efi.c efi: add helper function to get UEFI params from FDT 2014-04-30 19:49:46 +01:00
efistub.h efi: efistub: Refactor stub components 2014-07-07 20:29:48 +01:00
efivars.c efivars: Add compatibility code for compat tasks 2014-04-17 13:53:53 +01:00
fdt.c efi: efistub: Refactor stub components 2014-07-07 20:29:48 +01:00
Kconfig efi/x86: Move UEFI Runtime Services wrappers to generic code 2014-07-07 20:12:53 +01:00
Makefile efi/x86: Move UEFI Runtime Services wrappers to generic code 2014-07-07 20:12:53 +01:00
runtime-map.c efi: Export EFI runtime memory mapping to sysfs 2013-12-21 15:29:36 +00:00
runtime-wrappers.c efi/x86: Move UEFI Runtime Services wrappers to generic code 2014-07-07 20:12:53 +01:00
vars.c efivars: Stop passing a struct argument to efivar_validate() 2014-04-17 13:53:43 +01:00