efi: Add efi_test driver for exporting UEFI runtime service interfaces
authorIvan Hu <ivan.hu@canonical.com>
Thu, 25 Aug 2016 03:15:31 +0000 (11:15 +0800)
committerMatt Fleming <matt@codeblueprint.co.uk>
Fri, 9 Sep 2016 15:08:53 +0000 (16:08 +0100)
commitff6301dabc3ca20ab8f50f8d0252ac05da610d89
tree69e1ff9e859da896eb38de14dbe7e69181cd30a2
parent3dad6f7f6975387f53f1a772f29f54335563d93d
efi: Add efi_test driver for exporting UEFI runtime service interfaces

This driver is used by the Firmware Test Suite (FWTS) for testing the UEFI
runtime interfaces readiness of the firmware.

This driver exports UEFI runtime service interfaces into userspace,
which allows to use and test UEFI runtime services provided by the
firmware.

This driver uses the efi.<service> function pointers directly instead of
going through the efivar API to allow for direct testing of the UEFI
runtime service interfaces provided by the firmware.

Details for FWTS are available from,
<https://wiki.ubuntu.com/FirmwareTestSuite>

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
Cc: joeyli <jlee@suse.com>
Cc: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
MAINTAINERS
drivers/firmware/efi/Kconfig
drivers/firmware/efi/Makefile
drivers/firmware/efi/test/Makefile [new file with mode: 0644]
drivers/firmware/efi/test/efi_test.c [new file with mode: 0644]
drivers/firmware/efi/test/efi_test.h [new file with mode: 0644]