diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-05-08 06:13:54 -0700 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2019-05-20 07:35:34 -0700 |
commit | 7b84de93948925ea5f6ca7b5e9e3ffd1ef86b44b (patch) | |
tree | ca381dd739a2a35b3c396260fb947b5f8e9a697c /ShellPkg/Library | |
parent | 48f43c2c56eeaea63a6b7cb811a21b2a86904d86 (diff) | |
download | edk2-7b84de93948925ea5f6ca7b5e9e3ffd1ef86b44b.tar.gz edk2-7b84de93948925ea5f6ca7b5e9e3ffd1ef86b44b.tar.bz2 edk2-7b84de93948925ea5f6ca7b5e9e3ffd1ef86b44b.zip |
ShellPkg: Display VENDOR_ID in ASCII when parsing PPTT
The ID Type Structure (Type 2) inside the Processor Properties
Topology Table (PPTT) has a VENDOR_ID field which identifies the
node vendor. The approved values are listed in the ACPI ID Registry
and they are meant to be interpreted as arrays of ASCII characters.
This change to the acpiview parser for PPTT aims to reflect that.
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c index 345ad337f5..71b6e7ae7c 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c @@ -147,7 +147,7 @@ STATIC CONST ACPI_PARSER IdStructureParser[] = { {L"Length", 1, 1, L"%d", NULL, NULL, NULL, NULL},
{L"Reserved", 2, 2, L"0x%x", NULL, NULL, NULL, NULL},
- {L"VENDOR_ID", 4, 4, L"0x%x", NULL, NULL, NULL, NULL},
+ {L"VENDOR_ID", 4, 4, NULL, Dump4Chars, NULL, NULL, NULL},
{L"LEVEL_1_ID", 8, 8, L"0x%x", NULL, NULL, NULL, NULL},
{L"LEVEL_2_ID", 8, 16, L"0x%x", NULL, NULL, NULL, NULL},
{L"MAJOR_REV", 2, 24, L"0x%x", NULL, NULL, NULL, NULL},
|