diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-19 07:20:46 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-21 10:00:17 +0200 |
commit | 255a47333cc3e430d544fadf419b290213c5b11b (patch) | |
tree | ef6bd3a7025ab06b564c8d13f275dbc54255f1e9 /cmd | |
parent | 9de6ce807edaee02ae448a5130e9e78d60cc9b90 (diff) | |
download | u-boot-255a47333cc3e430d544fadf419b290213c5b11b.tar.gz u-boot-255a47333cc3e430d544fadf419b290213c5b11b.tar.bz2 u-boot-255a47333cc3e430d544fadf419b290213c5b11b.zip |
efi_loader: add EFI_MEMORY_SP to memory attributes
The UEFI 2.8 specification has introduced the EFI_MEMORY_SP memory
attribute. Add it to the 'efidebug memmap' and 'efi mem' commands.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/efi.c | 1 | ||||
-rw-r--r-- | cmd/efidebug.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,7 @@ static struct attr_info { { EFI_MEMORY_NV, "non-volatile" }, { EFI_MEMORY_MORE_RELIABLE, "higher reliability" }, { EFI_MEMORY_RO, "read-only" }, + { EFI_MEMORY_SP, "specific purpose" }, { EFI_MEMORY_RUNTIME, "needs runtime mapping" } }; diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 703dab0c20..32430e62f0 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -414,6 +414,7 @@ static const struct efi_mem_attrs { {EFI_MEMORY_NV, "NV"}, {EFI_MEMORY_MORE_RELIABLE, "REL"}, {EFI_MEMORY_RO, "RO"}, + {EFI_MEMORY_SP, "SP"}, {EFI_MEMORY_RUNTIME, "RT"}, }; |