feat: Update # of X2Apic Processor Local APIC
Since # of PROCESSOR_LOCAL_APICs are Madt Local Apic # is 1. Madt X2 Local Apic # is 9. Need to update # of structure type of X2Apic. Signed-off-by: cshur <cs.hur@intel.com>
This commit is contained in:
parent
2d18ee3a46
commit
83e3f07c9d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue