diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-09-23 17:29:34 +0300 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2015-10-12 16:20:07 +0300 |
commit | a1041713349d0b823b492d7b4ea4325d0b5666db (patch) | |
tree | f55fd0b6c63da4d6b96e88262b013c04ea86f193 /include/linux/efi.h | |
parent | bf924863c9445174c6e118f723dc477e2b6ccc7e (diff) | |
download | linux-a1041713349d0b823b492d7b4ea4325d0b5666db.tar.xz |
efi: Introduce EFI_NX_PE_DATA bit and set it from properties table
UEFI v2.5 introduces a runtime memory protection feature that splits
PE/COFF runtime images into separate code and data regions. Since this
may require special handling by the OS, allocate a EFI_xxx bit to
keep track of whether this feature is currently active or not.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index d6a9bee755f2..fa5106c2f9f5 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -973,6 +973,7 @@ extern int __init efi_setup_pcdp_console(char *); #define EFI_PARAVIRT 6 /* Access is via a paravirt interface */ #define EFI_ARCH_1 7 /* First arch-specific bit */ #define EFI_DBG 8 /* Print additional debug info at runtime */ +#define EFI_NX_PE_DATA 9 /* Can runtime data regions be mapped non-executable? */ #ifdef CONFIG_EFI /* |