audk/ShellPkg/Library/UefiShellAcpiViewCommandLib
Sami Mujawar 856cf5abf7 ShellPkg/AcpiView: Fix field validator invocation
Bugzilla: 3046 (https://bugzilla.tianocore.org/show_bug.cgi?id=3046)

The field validator function provides means to validate fields
in the ACPI table structures. To print complex field types a
print formatter function is provided.

The field validator was being invoked for simple data fields
for which the default print format is used. However, the field
validator function was not invoked if a print formatter function
was provided.

This problem is noticed when a Generic Address Structure (GAS)
is printed using DumpGas() and a field validator is present
to validate the GAS structure.

To fix this move the invocation of the field validator after
the field is printed such that the validation function is
called even when a print formatter function is present.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
2020-12-11 02:21:23 +00:00
..
Arm ShellPkg: acpiview: Add library for SBBR ACPI requirements validation 2020-05-06 17:00:57 +00:00
Parsers ShellPkg/AcpiView: Refactor configuration 2020-06-30 01:39:50 +00:00
AcpiParser.c ShellPkg/AcpiView: Fix field validator invocation 2020-12-11 02:21:23 +00:00
AcpiParser.h ShellPkg: acpiview: Remove duplicate ACPI structure size definitions 2020-02-19 06:01:39 +00:00
AcpiTableParser.c ShellPkg/AcpiView: Refactor configuration 2020-06-30 01:39:50 +00:00
AcpiTableParser.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
AcpiView.c ShellPkg: Add AcpiViewCommandLib 2020-06-30 01:39:50 +00:00
AcpiView.h ShellPkg/AcpiView: Move parameter parsing 2020-06-30 01:39:50 +00:00
AcpiViewConfig.c ShellPkg/AcpiView: Refactor configuration 2020-06-30 01:39:50 +00:00
AcpiViewConfig.h ShellPkg/AcpiView: Refactor configuration 2020-06-30 01:39:50 +00:00
UefiShellAcpiViewCommandLib.c ShellPkg: Add AcpiViewCommandLib 2020-06-30 01:39:50 +00:00
UefiShellAcpiViewCommandLib.inf ShellPkg: Add AcpiViewCommandLib 2020-06-30 01:39:50 +00:00
UefiShellAcpiViewCommandLib.uni ShellPkg: acpiview: Add -r parameter for table requirements validation 2020-05-06 17:00:57 +00:00