]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlString.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / AmlString.c
index 9f47b48835852fd1cb337de958e820e03bbcccdd..3f0ce72c81e06f18b0bdeccec3a6d42debf42d50 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   ACPI Sdt Protocol Driver\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -18,7 +18,7 @@
   Check if it is AML Root name\r
 \r
   @param[in]    Buffer AML path.\r
-  \r
+\r
   @retval       TRUE  AML path is root.\r
   @retval       FALSE AML path is not root.\r
 **/\r
@@ -38,7 +38,7 @@ AmlIsRootPath (
   Check if it is AML LeadName.\r
 \r
   @param[in]    Ch   Char.\r
-  \r
+\r
   @retval       TRUE  Char is AML LeadName.\r
   @retval       FALSE Char is not AML LeadName.\r
 **/\r
@@ -58,7 +58,7 @@ AmlIsLeadName (
   Check if it is AML Name.\r
 \r
   @param[in]    Ch   Char.\r
-  \r
+\r
   @retval       TRUE  Char is AML Name.\r
   @retval       FALSE Char is not AML Name.\r
 **/\r
@@ -78,7 +78,7 @@ AmlIsName (
   Return is buffer is AML NameSeg.\r
 \r
   @param[in]    Buffer     AML NameSement.\r
-  \r
+\r
   @retval       TRUE       It is AML NameSegment.\r
   @retval       FALSE      It is not AML NameSegment.\r
 **/\r
@@ -103,8 +103,8 @@ AmlIsNameSeg (
   Get AML NameString size.\r
 \r
   @param[in]    Buffer     AML NameString.\r
-  @param[out]   BufferSize AML NameString size \r
-  \r
+  @param[out]   BufferSize AML NameString size\r
+\r
   @retval       EFI_SUCCESS           Success.\r
   @retval       EFI_INVALID_PARAMETER Buffer does not refer to a valid AML NameString.\r
 **/\r
@@ -183,7 +183,7 @@ AmlGetNameStringSize (
   Check if it is ASL LeadName.\r
 \r
   @param[in]    Ch   Char.\r
-  \r
+\r
   @retval       TRUE  Char is ASL LeadName.\r
   @retval       FALSE Char is not ASL LeadName.\r
 **/\r
@@ -203,7 +203,7 @@ AmlIsAslLeadName (
   Check if it is ASL Name.\r
 \r
   @param[in]    Ch   Char.\r
-  \r
+\r
   @retval       TRUE  Char is ASL Name.\r
   @retval       FALSE Char is not ASL Name.\r
 **/\r
@@ -223,7 +223,7 @@ AmlIsAslName (
   Get ASL NameString size.\r
 \r
   @param[in]    Buffer   ASL NameString.\r
-  \r
+\r
   @return       ASL NameString size.\r
 **/\r
 UINTN\r
@@ -237,7 +237,7 @@ AmlGetAslNameSegLength (
   if (*Buffer == 0) {\r
     return 0;\r
   }\r
-  \r
+\r
   Length = 0;\r
   //\r
   // 1st\r
@@ -275,7 +275,7 @@ AmlGetAslNameSegLength (
   @param[out]   Root     On return, points to Root char number.\r
   @param[out]   Parent   On return, points to Parent char number.\r
   @param[out]   SegCount On return, points to Segment count.\r
-  \r
+\r
   @return       ASL NameString size.\r
 **/\r
 UINTN\r
@@ -532,7 +532,7 @@ AmlPrintNameString (
     //\r
     SegCount = 1;\r
   }\r
-  \r
+\r
   AmlPrintNameSeg (Buffer);\r
   Buffer += AML_NAME_SEG_SIZE;\r
   for (Index = 0; Index < SegCount - 1; Index++) {\r