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
18
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
39VOID
40EFIAPI
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,
60 );
61}
VOID EFIAPI Dump12Chars(IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length)
Definition: AcpiParser.c:439
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
#define PARSER_PARAMS(Parser)
Definition: AcpiParser.h:494
#define PARSE_ACPI_HEADER(Info)
Definition: AcpiParser.h:501
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define STATIC
Definition: Base.h:264
#define IN
Definition: Base.h:279
STATIC CONST ACPI_PARSER RasfParser[]
Definition: RasfParser.c:22
VOID EFIAPI ParseAcpiRasf(IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision)
Definition: RasfParser.c:41