Intel's Framework CPU I/O Protocol is replaced by CPU I/O 2 Protocol in PI.\r
This module produces PI CPU I/O 2 Protocol on top of Framework CPU I/O Protocol.\r
\r
-Copyright (c) 2009, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2009 - 2010, 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
@param[in] Address The base address of the memory operation.\r
@param[in] Count The number of memory operations to perform. The number of bytes moved\r
is Width size * Count, starting at Address.\r
- @param[out] Buffer The destination buffer to store the results.\r
+ @param[in, out] Buffer The destination buffer to store the results.\r
\r
@retval EFI_SUCCESS The data was read from or written to the EFI system.\r
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system. Or Buffer is NULL.\r
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,\r
IN UINT64 Address,\r
IN UINTN Count,\r
- OUT VOID *Buffer\r
+ IN OUT VOID *Buffer\r
)\r
{\r
return mCpuIo->Mem.Read (\r
@param[in] Address The base address of the memory operation.\r
@param[in] Count The number of memory operations to perform. The number of bytes moved\r
is Width size * Count, starting at Address.\r
- @param[in] Buffer The source buffer from which to write data.\r
+ @param[in, out] Buffer The source buffer from which to write data.\r
\r
@retval EFI_SUCCESS The data was read from or written to the EFI system.\r
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system. Or Buffer is NULL.\r
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,\r
IN UINT64 Address,\r
IN UINTN Count,\r
- IN VOID *Buffer\r
+ IN OUT VOID *Buffer\r
)\r
{\r
return mCpuIo->Mem.Write (\r
for aligning the Address if required. \r
@param[in] Count The number of I/O operations to perform. The number of bytes moved\r
is Width size * Count, starting at Address.\r
- @param[out] Buffer The destination buffer to store the results.\r
+ @param[in, out] Buffer The destination buffer to store the results.\r
\r
@retval EFI_SUCCESS The data was read from or written to the EFI system.\r
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system. Or Buffer is NULL.\r
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,\r
IN UINT64 Address,\r
IN UINTN Count,\r
- OUT VOID *Buffer\r
+ IN OUT VOID *Buffer\r
)\r
{\r
return mCpuIo->Io.Read (\r
for aligning the Address if required. \r
@param[in] Count The number of I/O operations to perform. The number of bytes moved\r
is Width size * Count, starting at Address.\r
- @param[in] Buffer The source buffer from which to write data.\r
+ @param[in, out] Buffer The source buffer from which to write data.\r
\r
@retval EFI_SUCCESS The data was read from or written to the EFI system.\r
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system. Or Buffer is NULL.\r
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,\r
IN UINT64 Address,\r
IN UINTN Count,\r
- IN VOID *Buffer\r
+ IN OUT VOID *Buffer\r
)\r
{\r
return mCpuIo->Io.Write (\r