/** @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
\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
@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
{\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
@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
\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
\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
\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
\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
\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
\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
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
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
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
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
/**\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
)\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
)\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
)\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
)\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
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
IN UINT16 Data\r
)\r
{\r
-} \r
+}\r
\r
/**\r
32-bit memory write operations.\r
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
IN UINT64 Data\r
)\r
{\r
-} \r
+}\r