]> Git Repo - linux.git/commit - include/linux/efi.h
efi: Add support for EFI_MEMORY_RO attribute introduced by UEFIv2.5
authorArd Biesheuvel <[email protected]>
Fri, 7 Aug 2015 08:36:54 +0000 (09:36 +0100)
committerIngo Molnar <[email protected]>
Sat, 8 Aug 2015 08:37:38 +0000 (10:37 +0200)
commit87db73aebf55554fefaa3eade0a28f282a1511b8
treec89c56d45acd7f35e08b9d3ceb941047d396378f
parentdd2384a75d1c046faf068a6352732a204814b86d
efi: Add support for EFI_MEMORY_RO attribute introduced by UEFIv2.5

The UEFI spec v2.5 introduces a new memory attribute
EFI_MEMORY_RO, which is now the preferred attribute to convey
that the nature of the contents of such a region allows it to be
mapped read-only (i.e., it contains .text and .rodata only).

The specification of the existing EFI_MEMORY_WP attribute has been
updated to align more closely with its common use as a
cacheability attribute rather than a permission attribute.

Add the #define and add the attribute to the memory map dumping
routine.

Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
drivers/firmware/efi/efi.c
include/linux/efi.h
This page took 0.054672 seconds and 4 git commands to generate.