mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
efi: Add EFI_MEMORY_{NV, MORE_RELIABLE, RO} attributes
With this update, the memory attributes are in sync with Linux kernel v4.18-rc4. They also match page 190 of UEFI 2.7 spec [1]. [1] http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
9b89183b97
commit
c3a40cce2a
@@ -39,6 +39,9 @@ static struct attr_info {
|
||||
{ EFI_MEMORY_WP, "write-protect" },
|
||||
{ EFI_MEMORY_RP, "read-protect" },
|
||||
{ EFI_MEMORY_XP, "execute-protect" },
|
||||
{ EFI_MEMORY_NV, "non-volatile" },
|
||||
{ EFI_MEMORY_MORE_RELIABLE, "higher reliability" },
|
||||
{ EFI_MEMORY_RO, "read-only" },
|
||||
{ EFI_MEMORY_RUNTIME, "needs runtime mapping" }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user