mirror_edk2/ShellPkg/Library
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
..
UefiHandleParsingLib ShellPkg/UefiHandleParsingLib: Fix error allocate pool 2019-12-05 06:12:36 +00:00
UefiShellAcpiViewCommandLib ShellPkg/AcpiView: Fix field validator invocation 2020-12-11 02:21:23 +00:00
UefiShellBcfgCommandLib ShellPkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UefiShellCEntryLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellCommandLib ShellPkg/CommandLib: Use first found UC for unsupported PlatformLang 2019-11-08 08:29:58 +08:00
UefiShellDebug1CommandsLib MdePkg,ShellPkg: Fix typo in SMBIOS_TABLE_TYPE17 field FirmwareVersion 2020-12-10 02:24:10 +00:00
UefiShellDriver1CommandsLib ShellPkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UefiShellInstall1CommandsLib ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellLevel1CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellLevel2CommandsLib ShellPkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UefiShellLevel3CommandsLib ShellPkg: stop taking EFI_HANDLE in place of SHELL_FILE_HANDLE 2019-10-09 09:40:10 +02:00
UefiShellLib ShellPkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UefiShellNetwork1CommandsLib ShellPkg: Fix 'ping' command Ip4 receive flow. 2020-04-01 10:53:03 +00:00
UefiShellNetwork2CommandsLib ShellPkg: stop using EFI_HANDLE in place of EFI_HII_HANDLE 2019-10-09 09:40:10 +02:00