ShellPkg/UefiShellAcpiViewCommandLib: Fix FADT Parser
FADT parser was checking for reduced ACPI flag incorrectly leading to incorrect error message if FIRMWARE_CTRL and X_FIRMWARE_CTRL are both 0. Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
This commit is contained in:
committed by
mergify[bot]
parent
418aded964
commit
66360134f8
@ -253,7 +253,7 @@ ParseAcpiFadt (
|
|||||||
// present.
|
// present.
|
||||||
if ((Trace) &&
|
if ((Trace) &&
|
||||||
(Flags != NULL) &&
|
(Flags != NULL) &&
|
||||||
((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != 0)) {
|
((*Flags & EFI_ACPI_6_3_HW_REDUCED_ACPI) != EFI_ACPI_6_3_HW_REDUCED_ACPI)) {
|
||||||
IncrementErrorCount ();
|
IncrementErrorCount ();
|
||||||
Print (L"ERROR: No FACS table found, "
|
Print (L"ERROR: No FACS table found, "
|
||||||
L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are zero.\n");
|
L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are zero.\n");
|
||||||
|
Reference in New Issue
Block a user