diff options
author | Krzysztof Koch <krzysztof.koch@arm.com> | 2019-07-22 15:50:26 -0700 |
---|---|---|
committer | Jaben Carsey <jaben.carsey@intel.com> | 2019-07-31 09:53:00 -0700 |
commit | 05f8e85fa7d83222310e471c9a43a6d2ab532c95 (patch) | |
tree | d7c7f14126b9e846b915d6705e2e45305feaea98 /BaseTools/Source/Python/Workspace | |
parent | d23bf7973491938d479bef5535c9017dc9065e58 (diff) | |
download | edk2-05f8e85fa7d83222310e471c9a43a6d2ab532c95.tar.gz edk2-05f8e85fa7d83222310e471c9a43a6d2ab532c95.tar.bz2 edk2-05f8e85fa7d83222310e471c9a43a6d2ab532c95.zip |
ShellPkg: acpiview: IORT: Refactor PMCG node mapping count validation
Move Performance Monitoring Counter Group (PMCG) node ID mapping count
validation from the core IORT acpiview parser logic to a dedicated
function. Now, the pointer to the validation function is passed to the
IortNodePmcgParser[] ACPI_PARSER array.
This check does not affect the flow of IORT parsing and is limited to
a single table field in scope, therefore, it is better to keep it away
from the code responsible for traversing the table.
Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
0 files changed, 0 insertions, 0 deletions