diff --git a/BootloaderCorePkg/Library/AcpiInitLib/AcpiInitLib.c b/BootloaderCorePkg/Library/AcpiInitLib/AcpiInitLib.c index 15de331d..06ff6522 100644 --- a/BootloaderCorePkg/Library/AcpiInitLib/AcpiInitLib.c +++ b/BootloaderCorePkg/Library/AcpiInitLib/AcpiInitLib.c @@ -395,7 +395,7 @@ UpdateMadt ( while (MadtPtr < MadtEnd) { EntryHeader = (EFI_ACPI_MADT_ENTRY_COMMON_HEADER *)MadtPtr; Length = EntryHeader->Length; - if (EntryHeader->Type != EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC) { + if ((EntryHeader->Type != EFI_ACPI_5_0_PROCESSOR_LOCAL_APIC) && (EntryHeader->Type != EFI_ACPI_5_0_PROCESSOR_LOCAL_X2APIC)) { CopyMem ((VOID *)Current, (VOID *)MadtPtr, Length); Current += Length; }