ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues
Make the function comments follow EDK2 coding style. Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Evan Lloyd <evan.lloyd@arm.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/** @file
|
||||
Header file for ACPI parser
|
||||
|
||||
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
|
||||
@ -22,23 +22,26 @@
|
||||
/// that allows us to process the log options.
|
||||
#define RSDP_TABLE_INFO SIGNATURE_32('R', 'S', 'D', 'P')
|
||||
|
||||
/** This function increments the ACPI table error counter.
|
||||
*/
|
||||
/**
|
||||
This function increments the ACPI table error counter.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
IncrementErrorCount (
|
||||
VOID
|
||||
);
|
||||
|
||||
/** This function increments the ACPI table warning counter.
|
||||
*/
|
||||
/**
|
||||
This function increments the ACPI table warning counter.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
IncrementWarningCount (
|
||||
VOID
|
||||
);
|
||||
|
||||
/** This function verifies the ACPI table checksum.
|
||||
/**
|
||||
This function verifies the ACPI table checksum.
|
||||
|
||||
This function verifies the checksum for the ACPI table and optionally
|
||||
prints the status.
|
||||
@ -49,7 +52,7 @@ IncrementWarningCount (
|
||||
|
||||
@retval TRUE The checksum is OK.
|
||||
@retval FALSE The checksum failed.
|
||||
*/
|
||||
**/
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
VerifyChecksum (
|
||||
@ -58,11 +61,12 @@ VerifyChecksum (
|
||||
IN UINT32 Length
|
||||
);
|
||||
|
||||
/** This function performs a raw data dump of the ACPI table.
|
||||
/**
|
||||
This function performs a raw data dump of the ACPI table.
|
||||
|
||||
@param [in] Ptr Pointer to the start of the table buffer.
|
||||
@param [in] Length The length of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpRaw (
|
||||
@ -70,12 +74,12 @@ DumpRaw (
|
||||
IN UINT32 Length
|
||||
);
|
||||
|
||||
/** This function traces 1 byte of datum as specified in the
|
||||
format string.
|
||||
/**
|
||||
This function traces 1 byte of datum as specified in the format string.
|
||||
|
||||
@param [in] Format The format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpUint8 (
|
||||
@ -83,12 +87,12 @@ DumpUint8 (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 2 bytes of data as specified in the
|
||||
format string.
|
||||
/**
|
||||
This function traces 2 bytes of data as specified in the format string.
|
||||
|
||||
@param [in] Format The format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpUint16 (
|
||||
@ -96,12 +100,12 @@ DumpUint16 (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 4 bytes of data as specified in the
|
||||
format string.
|
||||
/**
|
||||
This function traces 4 bytes of data as specified in the format string.
|
||||
|
||||
@param [in] Format The format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpUint32 (
|
||||
@ -109,12 +113,12 @@ DumpUint32 (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 8 bytes of data as specified by the
|
||||
format string.
|
||||
/**
|
||||
This function traces 8 bytes of data as specified by the format string.
|
||||
|
||||
@param [in] Format The format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpUint64 (
|
||||
@ -122,14 +126,15 @@ DumpUint64 (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 3 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
/**
|
||||
This function traces 3 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
|
||||
If no format string is specified the Format must be NULL.
|
||||
|
||||
@param [in] Format Optional format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
Dump3Chars (
|
||||
@ -137,14 +142,15 @@ Dump3Chars (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 4 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
/**
|
||||
This function traces 4 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
|
||||
If no format string is specified the Format must be NULL.
|
||||
|
||||
@param [in] Format Optional format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
Dump4Chars (
|
||||
@ -152,14 +158,15 @@ Dump4Chars (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 6 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
/**
|
||||
This function traces 6 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
|
||||
If no format string is specified the Format must be NULL.
|
||||
|
||||
@param [in] Format Optional format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
Dump6Chars (
|
||||
@ -167,14 +174,15 @@ Dump6Chars (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces 8 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
/**
|
||||
This function traces 8 characters which can be optionally
|
||||
formated using the format string if specified.
|
||||
|
||||
If no format string is specified the Format must be NULL.
|
||||
|
||||
@param [in] Format Optional format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
Dump8Chars (
|
||||
@ -182,7 +190,8 @@ Dump8Chars (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function indents and prints the ACPI table Field Name.
|
||||
/**
|
||||
This function indents and prints the ACPI table Field Name.
|
||||
|
||||
@param [in] Indent Number of spaces to add to the global table
|
||||
indent. The global table indent is 0 by default;
|
||||
@ -192,33 +201,36 @@ Dump8Chars (
|
||||
the total indent in the output is dependent on from
|
||||
where this function is called.
|
||||
@param [in] FieldName Pointer to the Field Name.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
PrintFieldName (
|
||||
IN UINT32 Indent,
|
||||
IN CONST CHAR16* FieldName
|
||||
);
|
||||
);
|
||||
|
||||
/** This function pointer is the template for customizing the trace output
|
||||
/**
|
||||
This function pointer is the template for customizing the trace output
|
||||
|
||||
@param [in] Format Format string for tracing the data as specified by
|
||||
the 'Format' member of ACPI_PARSER.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR16* Format, UINT8* Ptr);
|
||||
|
||||
/** This function pointer is the template for validating an ACPI table field.
|
||||
/**
|
||||
This function pointer is the template for validating an ACPI table field.
|
||||
|
||||
@param [in] Ptr Pointer to the start of the field data.
|
||||
@param [in] Context Pointer to context specific information as specified by
|
||||
the 'Context' member of the ACPI_PARSER.
|
||||
e.g. this could be a pointer to the ACPI table header.
|
||||
*/
|
||||
**/
|
||||
typedef VOID (EFIAPI *FNPTR_FIELD_VALIDATOR)(UINT8* Ptr, VOID* Context);
|
||||
|
||||
/** The ACPI_PARSER structure describes the fields of an ACPI table and
|
||||
provides means for the parser to interpret and trace appropriately.
|
||||
/**
|
||||
The ACPI_PARSER structure describes the fields of an ACPI table and
|
||||
provides means for the parser to interpret and trace appropriately.
|
||||
|
||||
The first three members are populated based on information present in
|
||||
in the ACPI table specifications. The remaining members describe how
|
||||
@ -234,7 +246,7 @@ typedef VOID (EFIAPI *FNPTR_FIELD_VALIDATOR)(UINT8* Ptr, VOID* Context);
|
||||
|
||||
The 'Format' and 'PrintFormatter' members allow flexibility for
|
||||
representing the field data.
|
||||
*/
|
||||
**/
|
||||
typedef struct AcpiParser {
|
||||
|
||||
/// String describing the ACPI table field
|
||||
@ -278,9 +290,10 @@ typedef struct AcpiParser {
|
||||
VOID* Context;
|
||||
} ACPI_PARSER;
|
||||
|
||||
/** A structure used to store the pointers to the members of the
|
||||
ACPI description header structure that was parsed.
|
||||
*/
|
||||
/**
|
||||
A structure used to store the pointers to the members of the
|
||||
ACPI description header structure that was parsed.
|
||||
**/
|
||||
typedef struct AcpiDescriptionHeaderInfo {
|
||||
/// ACPI table signature
|
||||
UINT32* Signature;
|
||||
@ -302,7 +315,8 @@ typedef struct AcpiDescriptionHeaderInfo {
|
||||
UINT32* CreatorRevision;
|
||||
} ACPI_DESCRIPTION_HEADER_INFO;
|
||||
|
||||
/** This function is used to parse an ACPI table buffer.
|
||||
/**
|
||||
This function is used to parse an ACPI table buffer.
|
||||
|
||||
The ACPI table buffer is parsed using the ACPI table parser information
|
||||
specified by a pointer to an array of ACPI_PARSER elements. This parser
|
||||
@ -326,7 +340,7 @@ typedef struct AcpiDescriptionHeaderInfo {
|
||||
@param [in] ParserItems Number of items in the ACPI_PARSER array.
|
||||
|
||||
@retval Number of bytes parsed.
|
||||
*/
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
ParseAcpi (
|
||||
@ -337,19 +351,21 @@ ParseAcpi (
|
||||
IN UINT32 Length,
|
||||
IN CONST ACPI_PARSER* Parser,
|
||||
IN UINT32 ParserItems
|
||||
);
|
||||
);
|
||||
|
||||
/** This is a helper macro to pass parameters to the Parser functions.
|
||||
/**
|
||||
This is a helper macro to pass parameters to the Parser functions.
|
||||
|
||||
@param [in] Parser The name of the ACPI_PARSER array describing the
|
||||
ACPI table fields.
|
||||
*/
|
||||
**/
|
||||
#define PARSER_PARAMS(Parser) Parser, sizeof (Parser) / sizeof (Parser[0])
|
||||
|
||||
/** This is a helper macro for describing the ACPI header fields.
|
||||
/**
|
||||
This is a helper macro for describing the ACPI header fields.
|
||||
|
||||
@param [out] Info Pointer to retrieve the ACPI table header information.
|
||||
*/
|
||||
**/
|
||||
#define PARSE_ACPI_HEADER(Info) \
|
||||
{ L"Signature", 4, 0, NULL, Dump4Chars, \
|
||||
(VOID**)&(Info)->Signature , NULL, NULL }, \
|
||||
@ -370,30 +386,32 @@ ParseAcpi (
|
||||
{ L"Creator Revision", 4, 32, L"0x%X", NULL, \
|
||||
(VOID**)&(Info)->CreatorRevision, NULL, NULL }
|
||||
|
||||
/** Length of the ACPI GAS structure.
|
||||
/**
|
||||
Length of the ACPI GAS structure.
|
||||
|
||||
NOTE: This might normally be defined as
|
||||
sizeof (EFI_ACPI_6_2_GENERIC_ADDRESS_STRUCTURE).
|
||||
However, we deliberately minimise any reference to the EDK2 ACPI
|
||||
headers in an attempt to provide cross checking.
|
||||
*/
|
||||
**/
|
||||
#define GAS_LENGTH 12
|
||||
|
||||
/** Length of the ACPI Header structure.
|
||||
/**
|
||||
Length of the ACPI Header structure.
|
||||
|
||||
NOTE: This might normally be defined as
|
||||
sizeof (EFI_ACPI_DESCRIPTION_HEADER).
|
||||
However, we deliberately minimise any reference to the EDK2 ACPI
|
||||
headers in an attempt to provide cross checking.
|
||||
*/
|
||||
**/
|
||||
#define ACPI_DESCRIPTION_HEADER_LENGTH 36
|
||||
|
||||
/** This function indents and traces the GAS structure as described
|
||||
by the GasParser.
|
||||
/**
|
||||
This function indents and traces the GAS structure as described by the GasParser.
|
||||
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] Indent Number of spaces to indent the output.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpGasStruct (
|
||||
@ -401,11 +419,12 @@ DumpGasStruct (
|
||||
IN UINT32 Indent
|
||||
);
|
||||
|
||||
/** This function traces the GAS structure as described by the GasParser.
|
||||
/**
|
||||
This function traces the GAS structure as described by the GasParser.
|
||||
|
||||
@param [in] Format Optional format string for tracing the data.
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DumpGas (
|
||||
@ -413,19 +432,21 @@ DumpGas (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function traces the ACPI header as described by the AcpiHeaderParser.
|
||||
/**
|
||||
This function traces the ACPI header as described by the AcpiHeaderParser.
|
||||
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
|
||||
@retval Number of bytes parsed.
|
||||
*/
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
DumpAcpiHeader (
|
||||
IN UINT8* Ptr
|
||||
);
|
||||
|
||||
/** This function parses the ACPI header as described by the AcpiHeaderParser.
|
||||
/**
|
||||
This function parses the ACPI header as described by the AcpiHeaderParser.
|
||||
|
||||
This function optionally returns the Signature, Length and revision of the
|
||||
ACPI table.
|
||||
@ -436,7 +457,7 @@ DumpAcpiHeader (
|
||||
@param [out] Revision Gets location of the revision of the ACPI table.
|
||||
|
||||
@retval Number of bytes parsed.
|
||||
*/
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
ParseAcpiHeader (
|
||||
@ -446,7 +467,8 @@ ParseAcpiHeader (
|
||||
OUT CONST UINT8** Revision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI BGRT table.
|
||||
/**
|
||||
This function parses the ACPI BGRT table.
|
||||
When trace is enabled this function parses the BGRT table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -456,7 +478,7 @@ ParseAcpiHeader (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiBgrt (
|
||||
@ -466,7 +488,8 @@ ParseAcpiBgrt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI DBG2 table.
|
||||
/**
|
||||
This function parses the ACPI DBG2 table.
|
||||
When trace is enabled this function parses the DBG2 table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -476,7 +499,7 @@ ParseAcpiBgrt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiDbg2 (
|
||||
@ -486,7 +509,8 @@ ParseAcpiDbg2 (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI DSDT table.
|
||||
/**
|
||||
This function parses the ACPI DSDT table.
|
||||
When trace is enabled this function parses the DSDT table and
|
||||
traces the ACPI table fields.
|
||||
For the DSDT table only the ACPI header fields are parsed and
|
||||
@ -496,7 +520,7 @@ ParseAcpiDbg2 (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiDsdt (
|
||||
@ -506,7 +530,8 @@ ParseAcpiDsdt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI FADT table.
|
||||
/**
|
||||
This function parses the ACPI FADT table.
|
||||
This function parses the FADT table and optionally traces the ACPI
|
||||
table fields.
|
||||
|
||||
@ -516,7 +541,7 @@ ParseAcpiDsdt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiFadt (
|
||||
@ -526,7 +551,8 @@ ParseAcpiFadt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI GTDT table.
|
||||
/**
|
||||
This function parses the ACPI GTDT table.
|
||||
When trace is enabled this function parses the GTDT table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -540,7 +566,7 @@ ParseAcpiFadt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiGtdt (
|
||||
@ -550,7 +576,8 @@ ParseAcpiGtdt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI IORT table.
|
||||
/**
|
||||
This function parses the ACPI IORT table.
|
||||
When trace is enabled this function parses the IORT table and
|
||||
traces the ACPI fields.
|
||||
|
||||
@ -568,7 +595,7 @@ ParseAcpiGtdt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiIort (
|
||||
@ -578,7 +605,8 @@ ParseAcpiIort (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI MADT table.
|
||||
/**
|
||||
This function parses the ACPI MADT table.
|
||||
When trace is enabled this function parses the MADT table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -596,7 +624,7 @@ ParseAcpiIort (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiMadt (
|
||||
@ -606,7 +634,8 @@ ParseAcpiMadt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI MCFG table.
|
||||
/**
|
||||
This function parses the ACPI MCFG table.
|
||||
When trace is enabled this function parses the MCFG table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -616,7 +645,7 @@ ParseAcpiMadt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiMcfg (
|
||||
@ -626,7 +655,8 @@ ParseAcpiMcfg (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI RSDP table.
|
||||
/**
|
||||
This function parses the ACPI RSDP table.
|
||||
|
||||
This function invokes the parser for the XSDT table.
|
||||
* Note - This function does not support parsing of RSDT table.
|
||||
@ -638,7 +668,7 @@ ParseAcpiMcfg (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiRsdp (
|
||||
@ -648,7 +678,8 @@ ParseAcpiRsdp (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI SLIT table.
|
||||
/**
|
||||
This function parses the ACPI SLIT table.
|
||||
When trace is enabled this function parses the SLIT table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -661,7 +692,7 @@ ParseAcpiRsdp (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiSlit (
|
||||
@ -671,7 +702,8 @@ ParseAcpiSlit (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI SPCR table.
|
||||
/**
|
||||
This function parses the ACPI SPCR table.
|
||||
When trace is enabled this function parses the SPCR table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -681,7 +713,7 @@ ParseAcpiSlit (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiSpcr (
|
||||
@ -691,7 +723,8 @@ ParseAcpiSpcr (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI SRAT table.
|
||||
/**
|
||||
This function parses the ACPI SRAT table.
|
||||
When trace is enabled this function parses the SRAT table and
|
||||
traces the ACPI table fields.
|
||||
|
||||
@ -707,7 +740,7 @@ ParseAcpiSpcr (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiSrat (
|
||||
@ -717,7 +750,8 @@ ParseAcpiSrat (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI SSDT table.
|
||||
/**
|
||||
This function parses the ACPI SSDT table.
|
||||
When trace is enabled this function parses the SSDT table and
|
||||
traces the ACPI table fields.
|
||||
For the SSDT table only the ACPI header fields are
|
||||
@ -727,7 +761,7 @@ ParseAcpiSrat (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiSsdt (
|
||||
@ -737,7 +771,8 @@ ParseAcpiSsdt (
|
||||
IN UINT8 AcpiTableRevision
|
||||
);
|
||||
|
||||
/** This function parses the ACPI XSDT table
|
||||
/**
|
||||
This function parses the ACPI XSDT table
|
||||
and optionally traces the ACPI table fields.
|
||||
|
||||
This function also performs validation of the XSDT table.
|
||||
@ -746,7 +781,7 @@ ParseAcpiSsdt (
|
||||
@param [in] Ptr Pointer to the start of the buffer.
|
||||
@param [in] AcpiTableLength Length of the ACPI table.
|
||||
@param [in] AcpiTableRevision Revision of the ACPI table.
|
||||
*/
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
ParseAcpiXsdt (
|
||||
|
Reference in New Issue
Block a user