Lines Matching refs:Madt
75 EFI_ACPI_1_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER *Madt; in QemuInstallAcpiMadtTable() local
97 NewBufferSize = 1 * sizeof (*Madt) + in QemuInstallAcpiMadtTable()
103 Madt = AllocatePool (NewBufferSize); in QemuInstallAcpiMadtTable()
104 if (Madt == NULL) { in QemuInstallAcpiMadtTable()
108 CopyMem (&(Madt->Header), AcpiTableBuffer, sizeof (EFI_ACPI_DESCRIPTION_HEADER)); in QemuInstallAcpiMadtTable()
109 Madt->Header.Length = (UINT32) NewBufferSize; in QemuInstallAcpiMadtTable()
110 Madt->LocalApicAddress = PcdGet32 (PcdCpuLocalApicBaseAddress); in QemuInstallAcpiMadtTable()
111 Madt->Flags = EFI_ACPI_1_0_PCAT_COMPAT; in QemuInstallAcpiMadtTable()
112 Ptr = Madt + 1; in QemuInstallAcpiMadtTable()
182 ASSERT ((UINTN) ((UINT8 *)Ptr - (UINT8 *)Madt) == NewBufferSize); in QemuInstallAcpiMadtTable()
183 Status = InstallAcpiTable (AcpiProtocol, Madt, NewBufferSize, TableKey); in QemuInstallAcpiMadtTable()
185 FreePool (Madt); in QemuInstallAcpiMadtTable()