/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/ |
D | Ppm.c | 78 EFI_ACPI_SDT_HEADER *CurrentTable; in PpmPatchFadtTable() local 90 &CurrentTable, in PpmPatchFadtTable() 99 …} while (CurrentTable->Signature != EFI_ACPI_3_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE || Current… in PpmPatchFadtTable() 101 ASSERT (CurrentTable->Signature == EFI_ACPI_3_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE); in PpmPatchFadtTable() 104 Status = gBS->AllocatePool (EfiBootServicesData, CurrentTable->Length, (VOID **) &Table); in PpmPatchFadtTable() 106 CopyMem (Table, CurrentTable, CurrentTable->Length); in PpmPatchFadtTable() 318 EFI_ACPI_COMMON_HEADER *CurrentTable; in PpmLoadAndPatchPMTables() local 332 CurrentTable = NULL; in PpmLoadAndPatchPMTables() 341 (VOID**)&CurrentTable, in PpmLoadAndPatchPMTables() 347 SsdtTableUpdate ((EFI_ACPI_DESCRIPTION_HEADER *) CurrentTable); in PpmLoadAndPatchPMTables() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/HisiAcpiPlatformDxe/ |
D | AcpiPlatform.c | 179 EFI_ACPI_COMMON_HEADER *CurrentTable; in AcpiPlatformEntryPoint() local 188 CurrentTable = NULL; in AcpiPlatformEntryPoint() 216 (VOID**) &CurrentTable, in AcpiPlatformEntryPoint() 224 TableHeader = (EFI_ACPI_DESCRIPTION_HEADER*) (CurrentTable); in AcpiPlatformEntryPoint() 232 TableSize = ((EFI_ACPI_DESCRIPTION_HEADER *) CurrentTable)->Length; in AcpiPlatformEntryPoint() 238 AcpiPlatformChecksum ((UINT8*)CurrentTable, TableSize); in AcpiPlatformEntryPoint() 245 CurrentTable, in AcpiPlatformEntryPoint() 253 gBS->FreePool (CurrentTable); in AcpiPlatformEntryPoint() 263 CurrentTable = NULL; in AcpiPlatformEntryPoint()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/ |
D | AcpiPlatform.c | 178 EFI_ACPI_COMMON_HEADER *CurrentTable; in AcpiPlatformEntryPoint() local 185 CurrentTable = NULL; in AcpiPlatformEntryPoint() 213 (VOID**) &CurrentTable, in AcpiPlatformEntryPoint() 223 TableSize = ((EFI_ACPI_DESCRIPTION_HEADER *) CurrentTable)->Length; in AcpiPlatformEntryPoint() 229 AcpiPlatformChecksum ((UINT8*)CurrentTable, TableSize); in AcpiPlatformEntryPoint() 236 CurrentTable, in AcpiPlatformEntryPoint() 244 gBS->FreePool (CurrentTable); in AcpiPlatformEntryPoint() 254 CurrentTable = NULL; in AcpiPlatformEntryPoint()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/ |
D | AcpiPlatform.c | 558 EFI_ACPI_COMMON_HEADER *CurrentTable; in AcpiPlatformEntryPoint() local 575 CurrentTable = NULL; in AcpiPlatformEntryPoint() 651 Status = MadtTableInitialize (&CurrentTable, &Size); in AcpiPlatformEntryPoint() 656 AcpiUpdateTable ((EFI_ACPI_DESCRIPTION_HEADER *) CurrentTable, &Version); in AcpiPlatformEntryPoint() 662 ((EFI_ACPI_SDT_HEADER *)CurrentTable)->Checksum = 0; in AcpiPlatformEntryPoint() 663 ((EFI_ACPI_SDT_HEADER *)CurrentTable)->Checksum = in AcpiPlatformEntryPoint() 664 CalculateCheckSum8 ((VOID *)CurrentTable, CurrentTable->Length); in AcpiPlatformEntryPoint() 672 CurrentTable, in AcpiPlatformEntryPoint() 673 CurrentTable->Length, in AcpiPlatformEntryPoint() 677 CurrentTable = NULL; in AcpiPlatformEntryPoint() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
D | Xen.c | 141 EFI_ACPI_DESCRIPTION_HEADER *CurrentTable; in InstallXenTables() local 192 CurrentTable = (EFI_ACPI_DESCRIPTION_HEADER *) CurrentTablePointer; in InstallXenTables() 199 CurrentTable, in InstallXenTables() 200 CurrentTable->Length, in InstallXenTables() 211 if (!AsciiStrnCmp ((CHAR8 *) &CurrentTable->Signature, "FACP", 4)) { in InstallXenTables() 242 CurrentTable = (EFI_ACPI_DESCRIPTION_HEADER *) CurrentTablePointer; in InstallXenTables() 249 CurrentTable, in InstallXenTables() 250 CurrentTable->Length, in InstallXenTables() 261 if (!AsciiStrnCmp ((CHAR8 *) &CurrentTable->Signature, "FACP", 4)) { in InstallXenTables()
|
D | AcpiPlatform.c | 153 EFI_ACPI_COMMON_HEADER *CurrentTable; in InstallOvmfFvTables() local 161 CurrentTable = NULL; in InstallOvmfFvTables() 187 (VOID**) &CurrentTable, in InstallOvmfFvTables() 197 TableSize = ((EFI_ACPI_DESCRIPTION_HEADER *) CurrentTable)->Length; in InstallOvmfFvTables() 205 CurrentTable, in InstallOvmfFvTables() 213 gBS->FreePool (CurrentTable); in InstallOvmfFvTables() 223 CurrentTable = NULL; in InstallOvmfFvTables()
|
/device/linaro/bootloader/edk2/ArmVirtPkg/XenAcpiPlatformDxe/ |
D | XenAcpiPlatformDxe.c | 116 EFI_ACPI_DESCRIPTION_HEADER *CurrentTable; in InstallXenArmTables() local 163 CurrentTable = (EFI_ACPI_DESCRIPTION_HEADER *) CurrentTablePointer; in InstallXenArmTables() 170 CurrentTable, in InstallXenArmTables() 171 CurrentTable->Length, in InstallXenArmTables() 182 if (!AsciiStrnCmp ((CHAR8 *) &CurrentTable->Signature, "FACP", 4)) { in InstallXenArmTables()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
D | AcpiSdt.c | 235 EFI_ACPI_TABLE_LIST *CurrentTable; in GetAcpiTable2() local 271 CurrentTable = EFI_ACPI_TABLE_LIST_FROM_LINK (CurrentLink); in GetAcpiTable2() 272 *TableKey = CurrentTable->Handle; in GetAcpiTable2() 273 *Version = CurrentTable->Version; in GetAcpiTable2() 274 *Table = (EFI_ACPI_SDT_HEADER *)CurrentTable->Table; in GetAcpiTable2()
|
D | AcpiTableProtocol.c | 1036 EFI_ACPI_TABLE_LIST *CurrentTable; in FindTableByHandle() local 1049 CurrentTable = EFI_ACPI_TABLE_LIST_FROM_LINK (CurrentLink); in FindTableByHandle() 1050 if (CurrentTable->Handle == Handle) { in FindTableByHandle() 1054 *Table = CurrentTable; in FindTableByHandle()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/ |
D | AcpiSupportAcpiSupportProtocol.c | 125 EFI_ACPI_TABLE_LIST *CurrentTable; in GetAcpiTable() local 154 CurrentTable = EFI_ACPI_TABLE_LIST_FROM_LINK (CurrentLink); in GetAcpiTable() 155 *Handle = CurrentTable->Handle; in GetAcpiTable() 156 *Version = CurrentTable->Version; in GetAcpiTable() 161 *Table = AllocateCopyPool (CurrentTable->Table->Length, CurrentTable->Table); in GetAcpiTable() 1176 EFI_ACPI_TABLE_LIST *CurrentTable; in FindTableByHandle() local 1189 CurrentTable = EFI_ACPI_TABLE_LIST_FROM_LINK (CurrentLink); in FindTableByHandle() 1190 if (CurrentTable->Handle == Handle) { in FindTableByHandle() 1194 *Table = CurrentTable; in FindTableByHandle()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/ |
D | AcpiPlatform.c | 790 EFI_ACPI_COMMON_HEADER *CurrentTable; in AcpiPlatformEntryPoint() local 811 CurrentTable = NULL; in AcpiPlatformEntryPoint() 1230 CurrentTable = NULL; in AcpiPlatformEntryPoint() 1237 (VOID **) &CurrentTable, in AcpiPlatformEntryPoint() 1246 AcpiStatus = AcpiPlatformHooksIsActiveTable (CurrentTable); in AcpiPlatformEntryPoint() 1252 AcpiStatus = PlatformUpdateTables (CurrentTable); in AcpiPlatformEntryPoint() 1260 CurrentTable, in AcpiPlatformEntryPoint()
|