13#define OUTPUT_FIELD_COLUMN_WIDTH 36
19#define RSDP_TABLE_INFO SIGNATURE_32('R', 'S', 'D', 'P')
138 IN CONST CHAR16 *Format OPTIONAL,
156 IN CONST CHAR16 *Format OPTIONAL,
174 IN CONST CHAR16 *Format OPTIONAL,
192 IN CONST CHAR16 *Format OPTIONAL,
210 IN CONST CHAR16 *Format OPTIONAL,
228 IN CONST CHAR16 *Format OPTIONAL,
246 IN CONST CHAR16 *Format OPTIONAL,
266 IN CONST CHAR16 *Format OPTIONAL,
442 IN CONST CHAR8 *AsciiName OPTIONAL,
446 IN UINT32 ParserItems
481 IN CONST CHAR8 *AsciiName OPTIONAL,
485 IN UINT32 ParserItems
494#define PARSER_PARAMS(Parser) Parser, sizeof (Parser) / sizeof (Parser[0])
501#define PARSE_ACPI_HEADER(Info) \
502 { L"Signature", 4, 0, NULL, Dump4Chars, \
503 (VOID**)&(Info)->Signature , NULL, NULL }, \
504 { L"Length", 4, 4, L"%d", NULL, \
505 (VOID**)&(Info)->Length, NULL, NULL }, \
506 { L"Revision", 1, 8, L"%d", NULL, \
507 (VOID**)&(Info)->Revision, NULL, NULL }, \
508 { L"Checksum", 1, 9, L"0x%X", NULL, \
509 (VOID**)&(Info)->Checksum, NULL, NULL }, \
510 { L"Oem ID", 6, 10, NULL, Dump6Chars, \
511 (VOID**)&(Info)->OemId, NULL, NULL }, \
512 { L"Oem Table ID", 8, 16, NULL, Dump8Chars, \
513 (VOID**)&(Info)->OemTableId, NULL, NULL }, \
514 { L"Oem Revision", 4, 24, L"0x%X", NULL, \
515 (VOID**)&(Info)->OemRevision, NULL, NULL }, \
516 { L"Creator ID", 4, 28, NULL, Dump4Chars, \
517 (VOID**)&(Info)->CreatorId, NULL, NULL }, \
518 { L"Creator Revision", 4, 32, L"0x%X", NULL, \
519 (VOID**)&(Info)->CreatorRevision, NULL, NULL }
548 IN CONST CHAR16 *Format OPTIONAL,
605 IN UINT32 AcpiTableLength,
606 IN UINT8 AcpiTableRevision
626 IN UINT32 AcpiTableLength,
627 IN UINT8 AcpiTableRevision
647 IN UINT32 AcpiTableLength,
648 IN UINT8 AcpiTableRevision
668 IN UINT32 AcpiTableLength,
669 IN UINT8 AcpiTableRevision
689 IN UINT32 AcpiTableLength,
690 IN UINT8 AcpiTableRevision
710 IN UINT32 AcpiTableLength,
711 IN UINT8 AcpiTableRevision
731 IN UINT32 AcpiTableLength,
732 IN UINT8 AcpiTableRevision
752 IN UINT32 AcpiTableLength,
753 IN UINT8 AcpiTableRevision
773 IN UINT32 AcpiTableLength,
774 IN UINT8 AcpiTableRevision
798 IN UINT32 AcpiTableLength,
799 IN UINT8 AcpiTableRevision
819 IN UINT32 AcpiTableLength,
820 IN UINT8 AcpiTableRevision
845 IN UINT32 AcpiTableLength,
846 IN UINT8 AcpiTableRevision
862 IN UINT32 AcpiTableLength,
863 IN UINT8 AcpiTableRevision
891 IN UINT32 AcpiTableLength,
892 IN UINT8 AcpiTableRevision
920 IN UINT32 AcpiTableLength,
921 IN UINT8 AcpiTableRevision
941 IN UINT32 AcpiTableLength,
942 IN UINT8 AcpiTableRevision
962 IN UINT32 AcpiTableLength,
963 IN UINT8 AcpiTableRevision
984 IN UINT32 AcpiTableLength,
985 IN UINT8 AcpiTableRevision
1005 IN UINT32 AcpiTableLength,
1006 IN UINT8 AcpiTableRevision
1028 IN UINT32 AcpiTableLength,
1029 IN UINT8 AcpiTableRevision
1051 IN UINT32 AcpiTableLength,
1052 IN UINT8 AcpiTableRevision
1074 IN UINT32 AcpiTableLength,
1075 IN UINT8 AcpiTableRevision
1098 IN UINT32 AcpiTableLength,
1099 IN UINT8 AcpiTableRevision
1119 IN UINT32 AcpiTableLength,
1120 IN UINT8 AcpiTableRevision
1146 IN UINT32 AcpiTableLength,
1147 IN UINT8 AcpiTableRevision
1167 IN UINT32 AcpiTableLength,
1168 IN UINT8 AcpiTableRevision
1184 IN UINT32 AcpiTableLength,
1185 IN UINT8 AcpiTableRevision
1204 IN UINT32 AcpiTableLength,
1205 IN UINT8 AcpiTableRevision
VOID EFIAPI ParseAcpiXsdt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI Dump16Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiIort(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
UINT32 EFIAPI ParseAcpiHeader(IN UINT8 *Ptr, OUT CONST UINT32 **Signature, OUT CONST UINT32 **Length, OUT CONST UINT8 **Revision)
VOID EFIAPI IncrementWarningCount(VOID)
VOID EFIAPI ParseAcpiRasf(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiRas2(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
UINT32 EFIAPI DumpGasStruct(IN UINT8 *Ptr, IN UINT32 Indent, IN UINT32 Length)
VOID EFIAPI ParseAcpiWsmt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID(EFIAPI * FNPTR_FIELD_VALIDATOR)(UINT8 *Ptr, UINT32 Length, VOID *Context)
VOID EFIAPI ParseAcpiPcct(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI DumpReservedBits(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI DumpGas(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiMadt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiMcfg(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiRsdp(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiFacs(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiMpam(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI DumpUint16(IN CONST CHAR16 *Format, IN UINT8 *Ptr)
VOID EFIAPI DumpUint64(IN CONST CHAR16 *Format, IN UINT8 *Ptr)
VOID EFIAPI PrintFieldName(IN UINT32 Indent, IN CONST CHAR16 *FieldName)
VOID EFIAPI ParseAcpiHmat(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
BOOLEAN EFIAPI VerifyChecksum(IN BOOLEAN Log, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiDsdt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
struct AcpiParser ACPI_PARSER
VOID(EFIAPI * FNPTR_PRINT_FORMATTER)(CONST CHAR16 *Format, UINT8 *Ptr, UINT32 Length)
VOID EFIAPI Dump12Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiEinj(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
UINT32 EFIAPI DumpAcpiHeader(IN UINT8 *Ptr)
VOID EFIAPI ParseAcpiGtdt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI Dump4Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI Dump8Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI Dump3Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiSsdt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI IncrementErrorCount(VOID)
VOID EFIAPI ParseAcpiSrat(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
UINT32 EFIAPI ParseAcpi(IN BOOLEAN Trace, IN UINT32 Indent, IN CONST CHAR8 *AsciiName OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length, IN CONST ACPI_PARSER *Parser, IN UINT32 ParserItems)
VOID EFIAPI DumpReserved(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI DumpUint32(IN CONST CHAR16 *Format, IN UINT8 *Ptr)
VOID EFIAPI ParseAcpiFadt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiDbg2(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI Dump6Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
UINT32 EFIAPI ParseAcpiBitFields(IN BOOLEAN Trace, IN UINT32 Indent, IN CONST CHAR8 *AsciiName OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length, IN CONST ACPI_PARSER *Parser, IN UINT32 ParserItems)
VOID EFIAPI ParseAcpiSlit(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI DumpUint8(IN CONST CHAR16 *Format, IN UINT8 *Ptr)
VOID EFIAPI ParseAcpiBgrt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiHest(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI DumpRaw(IN UINT8 *Ptr, IN UINT32 Length)
VOID EFIAPI ParseAcpiPptt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
struct AcpiDescriptionHeaderInfo ACPI_DESCRIPTION_HEADER_INFO
VOID EFIAPI ParseAcpiAest(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiErst(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiHpet(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiApmt(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ParseAcpiSpcr(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
FNPTR_FIELD_VALIDATOR FieldValidator
FNPTR_PRINT_FORMATTER PrintFormatter