]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Rsdp/RsdpParser.c
ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Rsdp / RsdpParser.c
index c7acdceb9473b8c77ec2ba48b1f6dc6837f72042..c33bb1e92347234f167a07c77701d6dbc433471a 100644 (file)
@@ -1,4 +1,4 @@
-/**\r
+/** @file\r
   RSDP table parser\r
 \r
   Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.\r
 // Local Variables\r
 STATIC CONST UINT64* XsdtAddress;\r
 \r
-/** This function validates the RSDT Address.\r
+/**\r
+  This function validates the RSDT Address.\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
@@ -35,12 +36,13 @@ ValidateRsdtAddress (
   IN VOID*  Context\r
   );\r
 \r
-/** This function validates the XSDT Address.\r
+/**\r
+  This function validates the XSDT Address.\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
@@ -49,8 +51,9 @@ ValidateXsdtAddress (
   IN VOID*  Context\r
   );\r
 \r
-/** An array describing the ACPI RSDP Table.\r
-*/\r
+/**\r
+  An array describing the ACPI RSDP Table.\r
+**/\r
 STATIC CONST ACPI_PARSER RsdpParser[] = {\r
   {L"Signature", 8, 0, NULL, Dump8Chars, NULL, NULL, NULL},\r
   {L"Checksum", 1, 8, L"0x%x", NULL, NULL, NULL, NULL},\r
@@ -64,12 +67,13 @@ STATIC CONST ACPI_PARSER RsdpParser[] = {
   {L"Reserved", 3, 33, L"%x %x %x", Dump3Chars, NULL, NULL, NULL}\r
 };\r
 \r
-/** This function validates the RSDT Address.\r
+/**\r
+  This function validates the RSDT Address.\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
@@ -95,12 +99,13 @@ ValidateRsdtAddress (
 #endif\r
 }\r
 \r
-/** This function validates the XSDT Address.\r
+/**\r
+  This function validates the XSDT Address.\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
@@ -126,7 +131,8 @@ ValidateXsdtAddress (
 #endif\r
 }\r
 \r
-/** This function parses the ACPI RSDP table.\r
+/**\r
+  This function parses the ACPI RSDP table.\r
 \r
   This function invokes the parser for the XSDT table.\r
   * Note - This function does not support parsing of RSDT table.\r
@@ -138,7 +144,7 @@ ValidateXsdtAddress (
   @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
 ParseAcpiRsdp (\r