]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlNamespace.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / AcpiTableDxe / AmlNamespace.c
index 03b7394c4d0d432aa32d12a641fd5bd78cafed53..d1372d7613370b268d171e2e61a132ac61359e27 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   ACPI Sdt Protocol Driver\r
 \r
-  Copyright (c) 2010 - 2014, 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
 \r
 /**\r
   Construct node list according to the AML handle.\r
-  \r
+\r
   @param[in]    AmlHandle            AML handle.\r
   @param[in]    AmlRootNodeList      AML root node list.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
-  \r
+\r
   @retval       EFI_SUCCESS           Success.\r
   @retval       EFI_INVALID_PARAMETER AML handle does not refer to a valid ACPI object.\r
 **/\r
@@ -33,11 +33,11 @@ AmlConstructNodeList (
 \r
 /**\r
   Create AML Node.\r
-  \r
+\r
   @param[in]    NameSeg              AML NameSeg.\r
   @param[in]    Parent               AML parent node list.\r
   @param[in]    AmlByteEncoding      AML Byte Encoding.\r
-  \r
+\r
   @return       AML Node.\r
 **/\r
 EFI_AML_NODE_LIST *\r
@@ -66,11 +66,11 @@ AmlCreateNode (
 \r
 /**\r
   Find the AML NameSeg in the children of AmlParentNodeList.\r
-  \r
+\r
   @param[in]    NameSeg              AML NameSeg.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
   @param[in]    Create               TRUE means to create node if not found.\r
-  \r
+\r
   @return       AmlChildNode whoes name is same as NameSeg.\r
 **/\r
 EFI_AML_NODE_LIST *\r
@@ -120,12 +120,12 @@ AmlFindNodeInThis (
 \r
 /**\r
   Find the AML NameString in the children of AmlParentNodeList or AmlRootNodeList.\r
-  \r
+\r
   @param[in]    NameString           AML NameString.\r
   @param[in]    AmlRootNodeList      AML root node list.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
   @param[in]    Create               TRUE means to create node if not found.\r
-  \r
+\r
   @return       AmlChildNode whoes name is same as NameSeg.\r
 **/\r
 EFI_AML_NODE_LIST *\r
@@ -166,7 +166,7 @@ AmlFindNodeInTheTree (
   } else {\r
     AmlCurrentNodeList = AmlParentNodeList;\r
   }\r
-  \r
+\r
   //\r
   // Handle name segment\r
   //\r
@@ -206,13 +206,13 @@ AmlFindNodeInTheTree (
 \r
 /**\r
   Insert the NameString to the AmlNodeList.\r
-  \r
+\r
   @param[in]    NameString           AML NameString.\r
   @param[in]    Buffer               Buffer for the Node.\r
   @param[in]    Size                 Size for the Node.\r
   @param[in]    AmlRootNodeList      AML root node list.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
-  \r
+\r
   @return       AmlChildNode whoes name is NameString.\r
 **/\r
 EFI_AML_NODE_LIST *\r
@@ -278,11 +278,11 @@ AmlInsertNodeToTree (
 \r
 /**\r
   Construct child node list according to the AML handle.\r
-  \r
+\r
   @param[in]    AmlHandle            AML handle.\r
   @param[in]    AmlRootNodeList      AML root node list.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
-  \r
+\r
   @retval       EFI_SUCCESS           Success.\r
   @retval       EFI_INVALID_PARAMETER AML handle does not refer to a valid ACPI object.\r
 **/\r
@@ -369,11 +369,11 @@ AmlConstructNodeListForChild (
 \r
 /**\r
   Construct node list according to the AML handle.\r
-  \r
+\r
   @param[in]    AmlHandle            AML handle.\r
   @param[in]    AmlRootNodeList      AML root node list.\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
-  \r
+\r
   @retval       EFI_SUCCESS           Success.\r
   @retval       EFI_INVALID_PARAMETER AML handle does not refer to a valid ACPI object.\r
 **/\r
@@ -420,7 +420,7 @@ AmlConstructNodeList (
 \r
 /**\r
   Destruct node list\r
-  \r
+\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
 **/\r
 VOID\r
@@ -465,7 +465,7 @@ AmlDestructNodeList (
 \r
 /**\r
   Dump node list\r
-  \r
+\r
   @param[in]    AmlParentNodeList    AML parent node list.\r
   @param[in]    Level                Output debug level.\r
 **/\r
@@ -502,16 +502,16 @@ AmlDumpNodeInfo (
 \r
 /**\r
   Returns the handle of the ACPI object representing the specified ACPI AML path\r
-  \r
+\r
   @param[in]    AmlHandle   Points to the handle of the object representing the starting point for the path search.\r
   @param[in]    AmlPath     Points to the ACPI AML path.\r
   @param[out]   Buffer      On return, points to the ACPI object which represents AcpiPath, relative to\r
                             HandleIn.\r
   @param[in]    FromRoot    TRUE means to find AML path from \ (Root) Node.\r
                             FALSE means to find AML path from this Node (The HandleIn).\r
-                            \r
+\r
   @retval EFI_SUCCESS           Success\r
-  @retval EFI_INVALID_PARAMETER HandleIn does not refer to a valid ACPI object.                            \r
+  @retval EFI_INVALID_PARAMETER HandleIn does not refer to a valid ACPI object.\r
 **/\r
 EFI_STATUS\r
 AmlFindPath (\r