]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c
ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Dbg2 / Dbg2Parser.c
index f70a1328cc97656f5d651eb01e80df3236291a4a..7f66bce074e6807932fce288bdc7f351896ee10c 100644 (file)
@@ -1,4 +1,4 @@
-/**\r
+/** @file\r
   DBG2 table parser\r
 \r
   Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.\r
@@ -32,12 +32,13 @@ STATIC CONST UINT16* BaseAddrRegOffset;
 STATIC CONST UINT16* AddrSizeOffset;\r
 STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo;\r
 \r
-/** This function Validates the NameSpace string length.\r
+/**\r
+  This function Validates the NameSpace string length.\r
 \r
   @param [in] Ptr     Pointer to the start of the buffer.\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
@@ -46,12 +47,13 @@ ValidateNameSpaceStrLen (
   IN  VOID*  Context\r
   );\r
 \r
-/** This function parses the debug device information structure.\r
+/**\r
+  This function parses the debug device information structure.\r
 \r
   @param [in]  Ptr     Pointer to the start of the buffer.\r
   @param [out] Length  Pointer in which the length of the debug\r
                        device information is returned.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -95,12 +97,13 @@ STATIC CONST ACPI_PARSER DbgDevInfoParser[] = {
    (VOID**)&AddrSizeOffset, NULL, NULL}\r
 };\r
 \r
-/** This function validates the NameSpace string length.\r
+/**\r
+  This function validates the NameSpace string length.\r
 \r
   @param [in] Ptr     Pointer to the start of the buffer.\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
@@ -120,12 +123,13 @@ ValidateNameSpaceStrLen (
   }\r
 }\r
 \r
-/** This function parses the debug device information structure.\r
+/**\r
+  This function parses the debug device information structure.\r
 \r
   @param [in]  Ptr     Pointer to the start of the buffer.\r
-  @param [out] Ptr     Pointer in which the length of the debug\r
+  @param [out] Length  Pointer in which the length of the debug\r
                        device information is returned.\r
-*/\r
+**/\r
 STATIC\r
 VOID\r
 EFIAPI\r
@@ -193,7 +197,8 @@ DumpDbgDeviceInfo (
   *Length = *DbgDevInfoLen;\r
 }\r
 \r
-/** This function parses the ACPI DBG2 table.\r
+/**\r
+  This function parses the ACPI DBG2 table.\r
   When trace is enabled this function parses the DBG2 table and\r
   traces the ACPI table fields.\r
 \r
@@ -203,7 +208,7 @@ DumpDbgDeviceInfo (
   @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
 ParseAcpiDbg2 (\r