diff --git a/MdePkg/Include/Library/IoLib.h b/MdePkg/Include/Library/IoLib.h index e484bef9ec..a2a1c136ba 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
+Copyright (c) 2006 - 2009, Intel Corporation
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 35829cede8..f567955773 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
+ Copyright (c) 2007 - 2009, Intel Corporation
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 8f81b683ec..972d620119 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
+ Copyright (c) 2007 - 2009, Intel Corporation
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 *