efi: Introduce EFI_NX_PE_DATA bit and set it from properties table
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 23 Sep 2015 14:29:34 +0000 (07:29 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 12 Oct 2015 13:20:07 +0000 (14:20 +0100)
commita1041713349d0b823b492d7b4ea4325d0b5666db
treef55fd0b6c63da4d6b96e88262b013c04ea86f193
parentbf924863c9445174c6e118f723dc477e2b6ccc7e
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>
drivers/firmware/efi/efi.c
include/linux/efi.h