]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/CpuIo/CpuIo.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Pei / CpuIo / CpuIo.c
index c82c2215404d0080468a9037a202f5eaf04f4f21..e065a6c9889c7538a6ff3236010abdafee2175b5 100644 (file)
@@ -1,19 +1,19 @@
 /** @file\r
   The default version of EFI_PEI_CPU_IO_PPI support published by PeiServices in\r
   PeiCore initialization phase.\r
\r
+\r
   EFI_PEI_CPU_IO_PPI is installed by some platform or chipset-specific PEIM that\r
   abstracts the processor-visible I/O operations. When PeiCore is started, the\r
   default version of EFI_PEI_CPU_IO_PPI will be assigned 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
@@ -52,12 +52,12 @@ EFI_PEI_CPU_IO_PPI gPeiDefaultCpuIoPpi = {
 \r
 /**\r
   Memory-based read services.\r
-  \r
-  This function is to perform the Memory Access Read service based on installed \r
-  instance of the EFI_PEI_CPU_IO_PPI. \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-   \r
+\r
+  This function is to perform the Memory Access Read service based on installed\r
+  instance of the EFI_PEI_CPU_IO_PPI.\r
+  If the EFI_PEI_CPU_IO_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
   @param  This                  Pointer to local data for the interface.\r
@@ -67,7 +67,7 @@ EFI_PEI_CPU_IO_PPI gPeiDefaultCpuIoPpi = {
   @param  Buffer                A pointer to the buffer of data.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
-  @retval EFI_NOT_YET_AVAILABLE The service has not been installed.     \r
+  @retval EFI_NOT_YET_AVAILABLE The service has not been installed.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -82,15 +82,15 @@ PeiDefaultMemRead (
 {\r
   return EFI_NOT_AVAILABLE_YET;\r
 }\r
-  \r
+\r
 /**\r
   Memory-based write services.\r
-   \r
-  This function is to perform the Memory Access Write service based on installed \r
-  instance of the EFI_PEI_CPU_IO_PPI. \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-   \r
+\r
+  This function is to perform the Memory Access Write service based on installed\r
+  instance of the EFI_PEI_CPU_IO_PPI.\r
+  If the EFI_PEI_CPU_IO_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
   @param  This                  Pointer to local data for the interface.\r
@@ -100,7 +100,7 @@ PeiDefaultMemRead (
   @param  Buffer                A pointer to the buffer of data.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
-  @retval EFI_NOT_YET_AVAILABLE The service has not been installed.     \r
+  @retval EFI_NOT_YET_AVAILABLE The service has not been installed.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -118,11 +118,11 @@ PeiDefaultMemWrite (
 \r
 /**\r
   IO-based read services.\r
-  \r
+\r
   This function is to perform the IO-base read service for the EFI_PEI_CPU_IO_PPI.\r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-  \r
+  If the EFI_PEI_CPU_IO_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
   @param  This                  Pointer to local data for the interface.\r
@@ -150,11 +150,11 @@ PeiDefaultIoRead (
 \r
 /**\r
   IO-based write services.\r
-  \r
+\r
   This function is to perform the IO-base write service for the EFI_PEI_CPU_IO_PPI.\r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
-  return EFI_NOT_YET_AVAILABLE. \r
-  \r
+  If the EFI_PEI_CPU_IO_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
   @param  This                  Pointer to local data for the interface.\r
@@ -182,10 +182,10 @@ PeiDefaultIoWrite (
 \r
 /**\r
   8-bit I/O read operations.\r
-  \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+\r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -205,10 +205,10 @@ PeiDefaultIoRead8 (
 \r
 /**\r
   Reads an 16-bit I/O port.\r
-  \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+\r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -228,10 +228,10 @@ PeiDefaultIoRead16 (
 \r
 /**\r
   Reads an 32-bit I/O port.\r
-  \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+\r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -251,10 +251,10 @@ PeiDefaultIoRead32 (
 \r
 /**\r
   Reads an 64-bit I/O port.\r
-  \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+\r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -276,7 +276,7 @@ PeiDefaultIoRead64 (
   8-bit I/O write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -291,13 +291,13 @@ PeiDefaultIoWrite8 (
   IN  UINT8                       Data\r
   )\r
 {\r
-}  \r
+}\r
 \r
 /**\r
   16-bit I/O write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -318,7 +318,7 @@ PeiDefaultIoWrite16 (
   32-bit I/O write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -339,7 +339,7 @@ PeiDefaultIoWrite32 (
   64-bit I/O write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -359,9 +359,9 @@ PeiDefaultIoWrite64 (
 /**\r
   8-bit memory read operations.\r
 \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -378,14 +378,14 @@ PeiDefaultMemRead8 (
   )\r
 {\r
   return 0;\r
-}  \r
+}\r
 \r
 /**\r
   16-bit memory read operations.\r
 \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -402,14 +402,14 @@ PeiDefaultMemRead16 (
   )\r
 {\r
   return 0;\r
-}  \r
+}\r
 \r
 /**\r
   32-bit memory read operations.\r
 \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -426,14 +426,14 @@ PeiDefaultMemRead32 (
   )\r
 {\r
   return 0;\r
-} \r
+}\r
 \r
 /**\r
   64-bit memory read operations.\r
 \r
-  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then \r
+  If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then\r
   return 0.\r
-  \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  Address        The physical address of the access.\r
@@ -450,13 +450,13 @@ PeiDefaultMemRead64 (
   )\r
 {\r
   return 0;\r
-} \r
+}\r
 \r
 /**\r
   8-bit memory write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -472,13 +472,13 @@ PeiDefaultMemWrite8 (
   IN  UINT8                         Data\r
   )\r
 {\r
-}  \r
+}\r
 \r
 /**\r
   16-bit memory write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -494,7 +494,7 @@ PeiDefaultMemWrite16 (
   IN  UINT16                        Data\r
   )\r
 {\r
-}  \r
+}\r
 \r
 /**\r
   32-bit memory write operations.\r
@@ -516,13 +516,13 @@ PeiDefaultMemWrite32 (
   IN  UINT32                        Data\r
   )\r
 {\r
-} \r
+}\r
 \r
 /**\r
   64-bit memory write operations.\r
   If the EFI_PEI_CPU_IO_PPI is not installed by platform/chipset PEIM, then do\r
   nothing.\r
-  \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  Address        The physical address of the access.\r
@@ -538,4 +538,4 @@ PeiDefaultMemWrite64 (
   IN  UINT64                        Data\r
   )\r
 {\r
-} \r
+}\r