mirror of https://github.com/acidanthera/audk.git
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:
parent
418aded964
commit
66360134f8
|
@ -253,7 +253,7 @@ ParseAcpiFadt (
|
|||
// present.
|
||||
if ((Trace) &&
|
||||
(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 ();
|
||||
Print (L"ERROR: No FACS table found, "
|
||||
L"both X_FIRMWARE_CTRL and FIRMWARE_CTRL are zero.\n");
|
||||
|
|
Loading…
Reference in New Issue