]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/PciCfg2/PciCfg2.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Pei / PciCfg2 / PciCfg2.c
index a20e7c00c55e19e5cbd8fe8571b17766bfeb36ca..a6a6ad379bbe99d4d4112669f713c5d481b20bdb 100644 (file)
@@ -1,26 +1,26 @@
 /** @file\r
   The default version of EFI_PEI_PCI_CFG2_PPI support published by PeiServices in\r
   PeiCore initialization phase.\r
 /** @file\r
   The default version of EFI_PEI_PCI_CFG2_PPI support published by PeiServices in\r
   PeiCore initialization phase.\r
\r
-  EFI_PEI_PCI_CFG2_PPI is installed by the PEIM which supports a PCI root bridge. \r
-  When PeiCore is started, the default version of EFI_PEI_PCI_CFG2_PPI will be assigned \r
+\r
+  EFI_PEI_PCI_CFG2_PPI is installed by the PEIM which supports a PCI root bridge.\r
+  When PeiCore is started, the default version of EFI_PEI_PCI_CFG2_PPI will be assigned\r
   to PeiServices table.\r
   to PeiServices table.\r
-  \r
-Copyright (c) 2009, 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Copyright (c) 2009 - 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
 #include "PeiMain.h"\r
 \r
 ///\r
 \r
 **/\r
 \r
 #include "PeiMain.h"\r
 \r
 ///\r
-/// This default instance of EFI_PEI_PCI_CFG2_PPI install assigned to EFI_PEI_SERVICE.PciCfg \r
+/// This default instance of EFI_PEI_PCI_CFG2_PPI install assigned to EFI_PEI_SERVICE.PciCfg\r
 /// when PeiCore's initialization.\r
 ///\r
 EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {\r
 /// when PeiCore's initialization.\r
 ///\r
 EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {\r
@@ -32,9 +32,9 @@ EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {
 /**\r
   Reads from a given location in the PCI configuration space.\r
 \r
 /**\r
   Reads from a given location in the PCI configuration space.\r
 \r
-  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-  \r
+  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then\r
+  return EFI_NOT_YET_AVAILABLE.\r
+\r
   @param  PeiServices     An indirect pointer to the PEI Services Table published by the PEI Foundation.\r
   @param  This            Pointer to local data for the interface.\r
   @param  Width           The width of the access. Enumerated in bytes.\r
   @param  PeiServices     An indirect pointer to the PEI Services Table published by the PEI Foundation.\r
   @param  This            Pointer to local data for the interface.\r
   @param  Width           The width of the access. Enumerated in bytes.\r
@@ -46,7 +46,7 @@ EFI_PEI_PCI_CFG2_PPI gPeiDefaultPciCfg2Ppi = {
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_INVALID_PARAMETER The invalid access width.\r
   @retval EFI_NOT_YET_AVAILABLE If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM.\r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_INVALID_PARAMETER The invalid access width.\r
   @retval EFI_NOT_YET_AVAILABLE If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -64,9 +64,9 @@ PeiDefaultPciCfg2Read (
 /**\r
   Write to a given location in the PCI configuration space.\r
 \r
 /**\r
   Write to a given location in the PCI configuration space.\r
 \r
-  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-  \r
+  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then\r
+  return EFI_NOT_YET_AVAILABLE.\r
+\r
   @param  PeiServices     An indirect pointer to the PEI Services Table published by the PEI Foundation.\r
   @param  This            Pointer to local data for the interface.\r
   @param  Width           The width of the access. Enumerated in bytes.\r
   @param  PeiServices     An indirect pointer to the PEI Services Table published by the PEI Foundation.\r
   @param  This            Pointer to local data for the interface.\r
   @param  Width           The width of the access. Enumerated in bytes.\r
@@ -90,13 +90,13 @@ PeiDefaultPciCfg2Write (
   )\r
 {\r
   return EFI_NOT_AVAILABLE_YET;\r
   )\r
 {\r
   return EFI_NOT_AVAILABLE_YET;\r
-}  \r
+}\r
 \r
 /**\r
   This function performs a read-modify-write operation on the contents from a given\r
   location in the PCI configuration space.\r
 \r
 /**\r
   This function performs a read-modify-write operation on the contents from a given\r
   location in the PCI configuration space.\r
-  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
+  If the EFI_PEI_PCI_CFG2_PPI is not installed by platform/chipset PEIM, then\r
+  return EFI_NOT_YET_AVAILABLE.\r
 \r
   @param  PeiServices     An indirect pointer to the PEI Services Table\r
                           published by the PEI Foundation.\r
 \r
   @param  PeiServices     An indirect pointer to the PEI Services Table\r
                           published by the PEI Foundation.\r
@@ -125,4 +125,4 @@ PeiDefaultPciCfg2Modify (
   )\r
 {\r
   return EFI_NOT_AVAILABLE_YET;\r
   )\r
 {\r
   return EFI_NOT_AVAILABLE_YET;\r
-}   \r
+}\r