diff options
author | Dandan Bi <dandan.bi@intel.com> | 2018-06-04 09:14:51 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-06-11 16:10:21 +0800 |
commit | a6eaba4d7f23262ab8e8502b476bdf5249a54ad4 (patch) | |
tree | c2b9e13f606cfce408251977d2f0fc91253276a0 /ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr | |
parent | 64285f15264906c761b5a6772b5b590b32caa03c (diff) | |
download | edk2-a6eaba4d7f23262ab8e8502b476bdf5249a54ad4.zip edk2-a6eaba4d7f23262ab8e8502b476bdf5249a54ad4.tar.gz edk2-a6eaba4d7f23262ab8e8502b476bdf5249a54ad4.tar.bz2 |
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr')
-rw-r--r-- | ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c index 841a27f..6434088 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c @@ -1,4 +1,4 @@ -/**
+/** @file
SPCR table parser
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
@@ -24,12 +24,13 @@ // Local variables
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo;
-/** This function validates the Interrupt Type.
+/**
+ This function validates the Interrupt Type.
@param [in] Ptr Pointer to the start of the field data.
@param [in] Context Pointer to context specific information e.g. this
could be a pointer to the ACPI table header.
-*/
+**/
STATIC
VOID
EFIAPI
@@ -38,12 +39,13 @@ ValidateInterruptType ( IN VOID* Context
);
-/** This function validates the Irq.
+/**
+ This function validates the Irq.
@param [in] Ptr Pointer to the start of the field data.
@param [in] Context Pointer to context specific information e.g. this
could be a pointer to the ACPI table header.
-*/
+**/
STATIC
VOID
EFIAPI
@@ -52,8 +54,9 @@ ValidateIrq ( IN VOID* Context
);
-/** An ACPI_PARSER array describing the ACPI SPCR Table.
-*/
+/**
+ An ACPI_PARSER array describing the ACPI SPCR Table.
+**/
STATIC CONST ACPI_PARSER SpcrParser[] = {
PARSE_ACPI_HEADER (&AcpiHdrInfo),
{L"Interface Type", 1, 36, L"%d", NULL, NULL, NULL, NULL},
@@ -79,12 +82,13 @@ STATIC CONST ACPI_PARSER SpcrParser[] = { {L"Reserved", 4, 76, L"%x", NULL, NULL, NULL, NULL}
};
-/** This function validates the Interrupt Type.
+/**
+ This function validates the Interrupt Type.
@param [in] Ptr Pointer to the start of the field data.
@param [in] Context Pointer to context specific information e.g. this
could be a pointer to the ACPI table header.
-*/
+**/
STATIC
VOID
EFIAPI
@@ -106,12 +110,13 @@ ValidateInterruptType ( #endif
}
-/** This function validates the Irq.
+/**
+ This function validates the Irq.
@param [in] Ptr Pointer to the start of the field data.
@param [in] Context Pointer to context specific information e.g. this
could be a pointer to the ACPI table header.
-*/
+**/
STATIC
VOID
EFIAPI
@@ -132,7 +137,8 @@ ValidateIrq ( #endif
}
-/** 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.
@@ -142,7 +148,7 @@ ValidateIrq ( @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 (
|