efi: Add support for EFI_MEMORY_RO attribute introduced by UEFIv2.5
[firefly-linux-kernel-4.4.55.git] / include / linux / efi.h
index 85ef051ac6fb43a64c38779c6bf754d2e492abcf..26ca9e2fd30e04eab00fb1f18fe5c1fcb2d4e241 100644 (file)
@@ -99,6 +99,7 @@ typedef       struct {
 #define EFI_MEMORY_XP          ((u64)0x0000000000004000ULL)    /* execute-protect */
 #define EFI_MEMORY_MORE_RELIABLE \
                                ((u64)0x0000000000010000ULL)    /* higher reliability */
+#define EFI_MEMORY_RO          ((u64)0x0000000000020000ULL)    /* read-only */
 #define EFI_MEMORY_RUNTIME     ((u64)0x8000000000000000ULL)    /* range requires runtime mapping */
 #define EFI_MEMORY_DESCRIPTOR_VERSION  1