diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-24 05:30:40 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-24 05:30:40 +0000 |
commit | 5385a579693ec4b4876b9c6fd8cd472e49ed5fd6 (patch) | |
tree | 06a60985420f2dc1c01ab5bbe0df9b7a9ad0285a /MdePkg/Library/BaseLib/Unaligned.c | |
parent | dfb8993c3c35616d2e986d000cea855b1f6b43ac (diff) | |
download | edk2-platforms-5385a579693ec4b4876b9c6fd8cd472e49ed5fd6.tar.xz |
clean up baselib according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5958 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Unaligned.c')
-rw-r--r-- | MdePkg/Library/BaseLib/Unaligned.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/MdePkg/Library/BaseLib/Unaligned.c b/MdePkg/Library/BaseLib/Unaligned.c index 86e00c2546..acb44fc5aa 100644 --- a/MdePkg/Library/BaseLib/Unaligned.c +++ b/MdePkg/Library/BaseLib/Unaligned.c @@ -1,7 +1,7 @@ /** @file
Unaligned access functions of BaseLib.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, 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
@@ -26,13 +26,13 @@ @param Buffer Pointer to a 16-bit value that may be unaligned.
- @return Data read from Buffer.
+ @return The 16-bit value read from Buffer.
**/
UINT16
EFIAPI
ReadUnaligned16 (
- IN CONST UINT16 *Buffer
+ IN CONST UINT16 *Buffer
)
{
ASSERT (Buffer != NULL);
@@ -52,14 +52,14 @@ ReadUnaligned16 ( @param Buffer Pointer to a 16-bit value that may be unaligned.
@param Value 16-bit value to write to Buffer.
- @return Value written to Buffer
+ @return The 16-bit value to write to Buffer.
**/
UINT16
EFIAPI
WriteUnaligned16 (
- OUT UINT16 *Buffer,
- IN UINT16 Value
+ OUT UINT16 *Buffer,
+ IN UINT16 Value
)
{
ASSERT (Buffer != NULL);
@@ -77,13 +77,13 @@ WriteUnaligned16 ( @param Buffer Pointer to a 24-bit value that may be unaligned.
- @return The value read from Buffer.
+ @return The 24-bit value read from Buffer.
**/
UINT32
EFIAPI
ReadUnaligned24 (
- IN CONST UINT32 *Buffer
+ IN CONST UINT32 *Buffer
)
{
ASSERT (Buffer != NULL);
@@ -103,14 +103,14 @@ ReadUnaligned24 ( @param Buffer Pointer to a 24-bit value that may be unaligned.
@param Value 24-bit value to write to Buffer.
- @return The value written to Buffer.
+ @return The 24-bit value to write to Buffer.
**/
UINT32
EFIAPI
WriteUnaligned24 (
- OUT UINT32 *Buffer,
- IN UINT32 Value
+ OUT UINT32 *Buffer,
+ IN UINT32 Value
)
{
ASSERT (Buffer != NULL);
@@ -129,13 +129,13 @@ WriteUnaligned24 ( @param Buffer Pointer to a 32-bit value that may be unaligned.
- @return Data read from Buffer.
+ @return The 32-bit value read from Buffer.
**/
UINT32
EFIAPI
ReadUnaligned32 (
- IN CONST UINT32 *Buffer
+ IN CONST UINT32 *Buffer
)
{
ASSERT (Buffer != NULL);
@@ -155,14 +155,14 @@ ReadUnaligned32 ( @param Buffer Pointer to a 32-bit value that may be unaligned.
@param Value 32-bit value to write to Buffer.
- @return Value written to Buffer
+ @return The 32-bit value to write to Buffer.
**/
UINT32
EFIAPI
WriteUnaligned32 (
- OUT UINT32 *Buffer,
- IN UINT32 Value
+ OUT UINT32 *Buffer,
+ IN UINT32 Value
)
{
ASSERT (Buffer != NULL);
@@ -180,13 +180,13 @@ WriteUnaligned32 ( @param Buffer Pointer to a 64-bit value that may be unaligned.
- @return Data read from Buffer.
+ @return The 64-bit value read from Buffer.
**/
UINT64
EFIAPI
ReadUnaligned64 (
- IN CONST UINT64 *Buffer
+ IN CONST UINT64 *Buffer
)
{
ASSERT (Buffer != NULL);
@@ -206,14 +206,14 @@ ReadUnaligned64 ( @param Buffer Pointer to a 64-bit value that may be unaligned.
@param Value 64-bit value to write to Buffer.
- @return Value written to Buffer.
+ @return The 64-bit value to write to Buffer.
**/
UINT64
EFIAPI
WriteUnaligned64 (
- OUT UINT64 *Buffer,
- IN UINT64 Value
+ OUT UINT64 *Buffer,
+ IN UINT64 Value
)
{
ASSERT (Buffer != NULL);
|