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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Memory-only library functions with no library constructor/destructor
|
||||
|
||||
Copyright (c) 2006 - 2007, 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
|
||||
@@ -2192,15 +2192,15 @@ DivS64x64Remainder (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint16 Pointer to a 16-bit value that may be unaligned.
|
||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
||||
|
||||
@return *Uint16
|
||||
@return The 16-bit value read from Buffer.
|
||||
|
||||
**/
|
||||
UINT16
|
||||
EFIAPI
|
||||
ReadUnaligned16 (
|
||||
IN CONST UINT16 *Uint16
|
||||
IN CONST UINT16 *Buffer
|
||||
);
|
||||
|
||||
|
||||
@@ -2213,17 +2213,17 @@ ReadUnaligned16 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint16 Pointer to a 16-bit value that may be unaligned.
|
||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
||||
@param Value 16-bit value to write to Buffer.
|
||||
|
||||
@return Value
|
||||
@return The 16-bit value to write to Buffer.
|
||||
|
||||
**/
|
||||
UINT16
|
||||
EFIAPI
|
||||
WriteUnaligned16 (
|
||||
OUT UINT16 *Uint16,
|
||||
IN UINT16 Value
|
||||
OUT UINT16 *Buffer,
|
||||
IN UINT16 Value
|
||||
);
|
||||
|
||||
|
||||
@@ -2237,13 +2237,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
|
||||
);
|
||||
|
||||
|
||||
@@ -2259,14 +2259,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
|
||||
);
|
||||
|
||||
|
||||
@@ -2278,15 +2278,15 @@ WriteUnaligned24 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint32 Pointer to a 32-bit value that may be unaligned.
|
||||
@param Buffer Pointer to a 32-bit value that may be unaligned.
|
||||
|
||||
@return Value read from Uint32
|
||||
@return The 32-bit value read from Buffer.
|
||||
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
ReadUnaligned32 (
|
||||
IN CONST UINT32 *Uint32
|
||||
IN CONST UINT32 *Buffer
|
||||
);
|
||||
|
||||
|
||||
@@ -2299,17 +2299,17 @@ ReadUnaligned32 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint32 Pointer to a 32-bit value that may be unaligned.
|
||||
@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 Uint32.
|
||||
@return The 32-bit value to write to Buffer.
|
||||
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
WriteUnaligned32 (
|
||||
OUT UINT32 *Uint32,
|
||||
IN UINT32 Value
|
||||
OUT UINT32 *Buffer,
|
||||
IN UINT32 Value
|
||||
);
|
||||
|
||||
|
||||
@@ -2321,15 +2321,15 @@ WriteUnaligned32 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint64 Pointer to a 64-bit value that may be unaligned.
|
||||
@param Buffer Pointer to a 64-bit value that may be unaligned.
|
||||
|
||||
@return Value read from Uint64.
|
||||
@return The 64-bit value read from Buffer.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
EFIAPI
|
||||
ReadUnaligned64 (
|
||||
IN CONST UINT64 *Uint64
|
||||
IN CONST UINT64 *Buffer
|
||||
);
|
||||
|
||||
|
||||
@@ -2342,17 +2342,17 @@ ReadUnaligned64 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Uint64 Pointer to a 64-bit value that may be unaligned.
|
||||
@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 Uint64.
|
||||
@return The 64-bit value to write to Buffer.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
EFIAPI
|
||||
WriteUnaligned64 (
|
||||
OUT UINT64 *Uint64,
|
||||
IN UINT64 Value
|
||||
OUT UINT64 *Buffer,
|
||||
IN UINT64 Value
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user