TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiTableParser.h
Go to the documentation of this file.
1
8#ifndef ACPITABLEPARSER_H_
9#define ACPITABLEPARSER_H_
10
14#define MAX_ACPI_TABLE_PARSERS 32
15
18#define ACPI_PARSER_SIGNATURE_NULL 0
19
28typedef
29VOID
30(EFIAPI *PARSE_ACPI_TABLE_PROC)(
31 IN BOOLEAN Trace,
32 IN UINT8 *Ptr,
33 IN UINT32 AcpiTableLength,
34 IN UINT8 AcpiTableRevision
35 );
36
40typedef struct AcpiTableParser {
42 UINT32 Signature;
43
47
64EFIAPI
66 IN UINT32 Signature,
67 IN PARSE_ACPI_TABLE_PROC ParserProc
68 );
69
82EFIAPI
84 IN UINT32 Signature
85 );
86
101VOID
102EFIAPI
104 IN UINT8 *Ptr
105 );
106
121EFIAPI
122GetParser (
123 IN UINT32 Signature,
124 OUT PARSE_ACPI_TABLE_PROC *ParserProc
125 );
126
127#endif // ACPITABLEPARSER_H_
EFI_STATUS EFIAPI GetParser(IN UINT32 Signature, OUT PARSE_ACPI_TABLE_PROC *ParserProc)
VOID(EFIAPI * PARSE_ACPI_TABLE_PROC)(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
VOID EFIAPI ProcessAcpiTable(IN UINT8 *Ptr)
EFI_STATUS EFIAPI RegisterParser(IN UINT32 Signature, IN PARSE_ACPI_TABLE_PROC ParserProc)
struct AcpiTableParser ACPI_TABLE_PARSER
EFI_STATUS EFIAPI DeregisterParser(IN UINT32 Signature)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
UINT32 Signature
ACPI table signature.
PARSE_ACPI_TABLE_PROC Parser
The ACPI table parser function.