]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c
ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Spcr / SpcrParser.c
index 841a27ffdfab78210545d0be95e101f68becfefc..64340886fe582440088cb58ed7ea4bc7ad147d12 100644 (file)
@@ -1,4 +1,4 @@
-/**\r
+/** @file\r
   SPCR table parser\r
 \r
   Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.\r
 // Local variables\r
 STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo;\r
 \r
-/** This function validates the Interrupt Type.\r
+/**\r
+  This function validates the Interrupt Type.\r
 \r
   @param [in] Ptr     Pointer to the start of the field data.\r
   @param [in] Context Pointer to context specific information e.g. this\r
                       could be a pointer to the ACPI table header.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -38,12 +39,13 @@ ValidateInterruptType (
   IN VOID*  Context\r
   );\r
 \r
-/** This function validates the Irq.\r
+/**\r
+  This function validates the Irq.\r
 \r
   @param [in] Ptr     Pointer to the start of the field data.\r
   @param [in] Context Pointer to context specific information e.g. this\r
                       could be a pointer to the ACPI table header.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -52,8 +54,9 @@ ValidateIrq (
   IN VOID*  Context\r
   );\r
 \r
-/** An ACPI_PARSER array describing the ACPI SPCR Table.\r
-*/\r
+/**\r
+  An ACPI_PARSER array describing the ACPI SPCR Table.\r
+**/\r
 STATIC CONST ACPI_PARSER SpcrParser[] = {\r
   PARSE_ACPI_HEADER (&AcpiHdrInfo),\r
   {L"Interface Type", 1, 36, L"%d", NULL, NULL, NULL, NULL},\r
@@ -79,12 +82,13 @@ STATIC CONST ACPI_PARSER SpcrParser[] = {
   {L"Reserved", 4, 76, L"%x", NULL, NULL, NULL, NULL}\r
 };\r
 \r
-/** This function validates the Interrupt Type.\r
+/**\r
+  This function validates the Interrupt Type.\r
 \r
   @param [in] Ptr     Pointer to the start of the field data.\r
   @param [in] Context Pointer to context specific information e.g. this\r
                       could be a pointer to the ACPI table header.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -106,12 +110,13 @@ ValidateInterruptType (
 #endif\r
 }\r
 \r
-/** This function validates the Irq.\r
+/**\r
+  This function validates the Irq.\r
 \r
   @param [in] Ptr     Pointer to the start of the field data.\r
   @param [in] Context Pointer to context specific information e.g. this\r
                       could be a pointer to the ACPI table header.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -132,7 +137,8 @@ ValidateIrq (
 #endif\r
 }\r
 \r
-/** This function parses the ACPI SPCR table.\r
+/**\r
+  This function parses the ACPI SPCR table.\r
   When trace is enabled this function parses the SPCR table and\r
   traces the ACPI table fields.\r
 \r
@@ -142,7 +148,7 @@ ValidateIrq (
   @param [in] Ptr                Pointer to the start of the buffer.\r
   @param [in] AcpiTableLength    Length of the ACPI table.\r
   @param [in] AcpiTableRevision  Revision of the ACPI table.\r
-*/\r
+**/\r
 VOID\r
 EFIAPI\r
 ParseAcpiSpcr (\r