summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-02 06:31:55 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-02 06:31:55 +0000
commit3222ffc0443923d0b74ad71867d68d10b2b81f72 (patch)
tree56118a2debdb2a9a6288cdee88ff31048e6abf11 /MdePkg
parenteaa154eae36c55a0faff0acd3671c9ed1a8e6fc6 (diff)
Fix incorrect function headers for IoLib APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7762 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/IoLib.h16
-rw-r--r--MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c16
-rw-r--r--MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c16
3 files changed, 24 insertions, 24 deletions
diff --git a/MdePkg/Include/Library/IoLib.h b/MdePkg/Include/Library/IoLib.h
index e484bef9e..a2a1c136b 100644
--- a/MdePkg/Include/Library/IoLib.h
+++ b/MdePkg/Include/Library/IoLib.h
@@ -1,7 +1,7 @@
/** @file
Provide services to access I/O Ports and MMIO registers.
-Copyright (c) 2006 - 2008, Intel Corporation<BR>
+Copyright (c) 2006 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -2514,7 +2514,7 @@ MmioReadBuffer64 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT8 *
@@ -2530,7 +2530,7 @@ MmioWriteBuffer8 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 16-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 16-bit boundary, then ASSERT().
@@ -2545,7 +2545,7 @@ MmioWriteBuffer8 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT16 *
@@ -2561,7 +2561,7 @@ MmioWriteBuffer16 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 32-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 32-bit boundary, then ASSERT().
@@ -2576,7 +2576,7 @@ MmioWriteBuffer16 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT32 *
@@ -2592,7 +2592,7 @@ MmioWriteBuffer32 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 64-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 64-bit boundary, then ASSERT().
@@ -2607,7 +2607,7 @@ MmioWriteBuffer32 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT64 *
diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c
index 35829cede..f56795577 100644
--- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c
+++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c
@@ -1,7 +1,7 @@
/** @file
I/O Library MMIO Buffer Functions.
- Copyright (c) 2007 - 2008, Intel Corporation<BR>
+ Copyright (c) 2007 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -223,7 +223,7 @@ MmioReadBuffer64 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT8 *
@@ -254,7 +254,7 @@ MmioWriteBuffer8 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 16-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 16-bit boundary, then ASSERT().
@@ -269,7 +269,7 @@ MmioWriteBuffer8 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT16 *
@@ -308,7 +308,7 @@ MmioWriteBuffer16 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 32-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 32-bit boundary, then ASSERT().
@@ -323,7 +323,7 @@ MmioWriteBuffer16 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT32 *
@@ -361,7 +361,7 @@ MmioWriteBuffer32 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 64-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 64-bit boundary, then ASSERT().
@@ -376,7 +376,7 @@ MmioWriteBuffer32 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT64 *
diff --git a/MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c b/MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c
index 8f81b683e..972d62011 100644
--- a/MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c
+++ b/MdePkg/Library/PeiIoLibCpuIo/IoLibMmioBuffer.c
@@ -2,7 +2,7 @@
I/O Library MMIO Buffer Functions.
The implementations are based on EFI_PEI_SERVICE->CpuIo interface.
- Copyright (c) 2007 - 2008, Intel Corporation<BR>
+ Copyright (c) 2007 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -230,7 +230,7 @@ MmioReadBuffer64 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT8 *
@@ -261,7 +261,7 @@ MmioWriteBuffer8 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 16-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 16-bit boundary, then ASSERT().
@@ -276,7 +276,7 @@ MmioWriteBuffer8 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT16 *
@@ -315,7 +315,7 @@ MmioWriteBuffer16 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 32-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 32-bit boundary, then ASSERT().
@@ -330,7 +330,7 @@ MmioWriteBuffer16 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT32 *
@@ -368,7 +368,7 @@ MmioWriteBuffer32 (
Copy data from system memory specified by Buffer to MMIO region specified
by starting address StartAddress by using 64-bit access. The total number
- of byte to be copied is specified by Length. Length is returned.
+ of byte to be copied is specified by Length. Buffer is returned.
If StartAddress is not aligned on a 64-bit boundary, then ASSERT().
@@ -383,7 +383,7 @@ MmioWriteBuffer32 (
@param Length The size, in bytes, of Buffer.
@param Buffer Pointer to a system memory buffer containing the data to write.
- @return Size in bytes of the copy.
+ @return Buffer
**/
UINT64 *