37 OUT BOOLEAN *PreviousTableLocated OPTIONAL
46 if (PreviousTableLocated !=
NULL) {
47 ASSERT (PreviousTable !=
NULL);
48 *PreviousTableLocated =
FALSE;
50 ASSERT (PreviousTable ==
NULL);
59 BasePtr = (
UINTN)(Sdt + 1);
60 for (Index = 0; Index < EntryCount; Index++) {
62 CopyMem (&EntryPtr, (VOID *)(BasePtr + Index * TablePointerSize), TablePointerSize);
64 if ((Table !=
NULL) && (Table->Signature == Signature)) {
65 if (PreviousTable !=
NULL) {
66 if (Table == PreviousTable) {
67 *PreviousTableLocated =
TRUE;
68 }
else if (*PreviousTableLocated) {
109 CopyMem (&Data64, &Fadt->XFirmwareCtrl, sizeof (UINT64));
143 CopyMem (&Data64, &Fadt->XDsdt, sizeof (UINT64));
177 OUT BOOLEAN *PreviousTableLocated OPTIONAL
187 if (PreviousTableLocated !=
NULL) {
188 ASSERT (PreviousTable !=
NULL);
189 *PreviousTableLocated =
FALSE;
191 ASSERT (PreviousTable ==
NULL);
199 if (EFI_ERROR (Status) || (Rsdp ==
NULL)) {
211 ASSERT (PreviousTable ==
NULL);
230 ASSERT (PreviousTable ==
NULL);
261 }
else if ((PreviousTableLocated !=
NULL) &&
262 *PreviousTableLocated)
276 ASSERT (PreviousTable ==
NULL);
295 ASSERT (PreviousTable ==
NULL);
369 BOOLEAN TempPreviousTableLocated;
370 BOOLEAN *PreviousTableLocated;
372 if (PreviousTable !=
NULL) {
373 if (PreviousTable->Signature != Signature) {
389 PreviousTableLocated = &TempPreviousTableLocated;
390 *PreviousTableLocated =
FALSE;
392 PreviousTableLocated =
NULL;
396 &gEfiAcpi20TableGuid,
403 }
else if ((PreviousTableLocated !=
NULL) &&
404 *PreviousTableLocated)
415 &gEfiAcpi10TableGuid,
#define EFI_ACPI_2_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE
#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE
#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION
#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION
EFI_ACPI_COMMON_HEADER * LocateAcpiDsdtFromFadt(IN EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE *Fadt)
EFI_ACPI_COMMON_HEADER * LocateAcpiTableInAcpiConfigurationTable(IN EFI_GUID *AcpiGuid, IN UINT32 Signature, IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL, OUT BOOLEAN *PreviousTableLocated OPTIONAL)
EFI_ACPI_COMMON_HEADER * ScanTableInSDT(IN EFI_ACPI_DESCRIPTION_HEADER *Sdt, IN UINTN TablePointerSize, IN UINT32 Signature, IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL, OUT BOOLEAN *PreviousTableLocated OPTIONAL)
EFI_ACPI_COMMON_HEADER * LocateAcpiFacsFromFadt(IN EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE *Fadt)
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateNextAcpiTable(IN UINT32 Signature, IN EFI_ACPI_COMMON_HEADER *PreviousTable OPTIONAL)
EFI_ACPI_COMMON_HEADER *EFIAPI EfiLocateFirstAcpiTable(IN UINT32 Signature)
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
EFI_STATUS EFIAPI EfiGetSystemConfigurationTable(IN EFI_GUID *TableGuid, OUT VOID **Table)