22#if defined (MDE_CPU_ARM) || defined (MDE_CPU_AARCH64)
56 return EFI_INVALID_PARAMETER;
66 return EFI_ALREADY_STARTED;
84 return EFI_OUT_OF_RESOURCES;
107 return EFI_INVALID_PARAMETER;
122 return EFI_NOT_FOUND;
148 return EFI_INVALID_PARAMETER;
162 return EFI_NOT_FOUND;
187 CONST UINT32 *AcpiTableSignature;
188 CONST UINT32 *AcpiTableLength;
189 CONST UINT8 *AcpiTableRevision;
190 CONST UINT8 *SignaturePtr;
207 DumpRaw (Ptr, *AcpiTableLength);
212 SignaturePtr = (
CONST UINT8 *)AcpiTableSignature;
215 L
"ERROR: Invalid %c%c%c%c table length. Length = %d\n",
230 #if defined (MDE_CPU_ARM) || defined (MDE_CPU_AARCH64)
237 Status =
GetParser (*AcpiTableSignature, &ParserProc);
238 if (EFI_ERROR (Status)) {
UINT32 EFIAPI ParseAcpiHeader(IN UINT8 *Ptr, OUT CONST UINT32 **Signature, OUT CONST UINT32 **Length, OUT CONST UINT8 **Revision)
BOOLEAN EFIAPI VerifyChecksum(IN BOOLEAN Log, IN UINT8 *Ptr, IN UINT32 Length)
UINT32 EFIAPI DumpAcpiHeader(IN UINT8 *Ptr)
VOID EFIAPI IncrementErrorCount(VOID)
VOID EFIAPI DumpRaw(IN UINT8 *Ptr, IN UINT32 Length)
EFI_STATUS EFIAPI GetParser(IN UINT32 Signature, OUT PARSE_ACPI_TABLE_PROC *ParserProc)
VOID EFIAPI ProcessAcpiTable(IN UINT8 *Ptr)
STATIC ACPI_TABLE_PARSER mTableParserList[MAX_ACPI_TABLE_PARSERS]
EFI_STATUS EFIAPI RegisterParser(IN UINT32 Signature, IN PARSE_ACPI_TABLE_PROC ParserProc)
EFI_STATUS EFIAPI DeregisterParser(IN UINT32 Signature)
VOID(EFIAPI * PARSE_ACPI_TABLE_PROC)(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
#define MAX_ACPI_TABLE_PARSERS
#define ACPI_PARSER_SIGNATURE_NULL
BOOLEAN ProcessTableReportOptions(IN CONST UINT32 Signature, IN CONST UINT8 *TablePtr, IN CONST UINT32 Length)
BOOLEAN EFIAPI GetConsistencyChecking(VOID)
BOOLEAN EFIAPI GetMandatoryTableValidate(VOID)
BOOLEAN EFIAPI ArmSbbrIncrementTableCount(UINT32 Signature)
UINTN EFIAPI Print(IN CONST CHAR16 *Format,...)
UINT32 Signature
ACPI table signature.
PARSE_ACPI_TABLE_PROC Parser
The ACPI table parser function.