]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: acpiview: Improve PPTT table field validation
authorKrzysztof Koch <krzysztof.koch@arm.com>
Fri, 28 Jun 2019 10:24:35 +0000 (18:24 +0800)
committerRay Ni <ray.ni@intel.com>
Tue, 2 Jul 2019 09:21:59 +0000 (17:21 +0800)
commit5a27f7a237ae5add1ccb653228ee6f5ef2975c9e
tree9c5541fa70961044601476f9b5ea9c841ea7d0ba
parente53303ca050b137287e6d6a56e792ff500fce0c8
ShellPkg: acpiview: Improve PPTT table field validation

Add Cache Structure (Type 1) 'Number of sets' and 'Associativity'
field validation in the acpiview Processor Properties Topology
Table (PPTT) parser.

Replace literal values with precompiler macros for existing
Cache Structure validation functions.

Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.h [new file with mode: 0644]