TianoCore EDK2
master
Loading...
Searching...
No Matches
RasfParser.c
Go to the documentation of this file.
1
11
#include <
Library/PrintLib.h
>
12
#include <
Library/BaseLib.h
>
13
#include <
Library/UefiLib.h
>
14
#include "
AcpiParser.h
"
15
#include "
AcpiView.h
"
16
17
STATIC
ACPI_DESCRIPTION_HEADER_INFO
AcpiHdrInfo;
18
22
STATIC
CONST
ACPI_PARSER
RasfParser
[] = {
23
PARSE_ACPI_HEADER
(&AcpiHdrInfo),
24
{ L
"RASF PCC Identifier"
, 12,36, L
"%02X %02X %02X %02X - %02X %02X %02X %02X - %02X %02X %02X %02X"
,
Dump12Chars
,
NULL
,
NULL
,
NULL
}
25
};
26
39
VOID
40
EFIAPI
41
ParseAcpiRasf
(
42
IN
BOOLEAN Trace,
43
IN
UINT8 *Ptr,
44
IN
UINT32 AcpiTableLength,
45
IN
UINT8 AcpiTableRevision
46
)
47
{
48
if
(!Trace) {
49
return
;
50
}
51
52
// Parse ACPI Header + RASF "fixed" fields
53
ParseAcpi
(
54
Trace,
55
0,
56
"RASF"
,
57
Ptr,
58
AcpiTableLength,
59
PARSER_PARAMS
(
RasfParser
)
60
);
61
}
Dump12Chars
VOID EFIAPI Dump12Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
Definition:
AcpiParser.c:439
ParseAcpi
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)
Definition:
AcpiParser.c:683
AcpiParser.h
PARSER_PARAMS
#define PARSER_PARAMS(Parser)
Definition:
AcpiParser.h:494
PARSE_ACPI_HEADER
#define PARSE_ACPI_HEADER(Info)
Definition:
AcpiParser.h:501
AcpiView.h
BaseLib.h
NULL
#define NULL
Definition:
Base.h:319
CONST
#define CONST
Definition:
Base.h:259
STATIC
#define STATIC
Definition:
Base.h:264
IN
#define IN
Definition:
Base.h:279
PrintLib.h
RasfParser
STATIC CONST ACPI_PARSER RasfParser[]
Definition:
RasfParser.c:22
ParseAcpiRasf
VOID EFIAPI ParseAcpiRasf(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
Definition:
RasfParser.c:41
UefiLib.h
AcpiDescriptionHeaderInfo
Definition:
AcpiParser.h:390
AcpiParser
Definition:
AcpiParser.h:339
ShellPkg
Library
UefiShellAcpiViewCommandLib
Parsers
Rasf
RasfParser.c
Generated on Fri Nov 15 2024 18:01:24 for TianoCore EDK2 by
1.9.6