Synchronize BaseLib h files to c files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6983 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gikidy
2008-12-11 02:59:41 +00:00
parent fca1cc7199
commit 2fc60b7038
18 changed files with 144 additions and 112 deletions

View File

@@ -24,16 +24,16 @@
from little endian to big endian or vice versa. The byte swapped value is
returned.
@param Value Operand A 16-bit unsigned value.
@param Value A 16-bit unsigned value.
@return The byte swapped Operand.
@return The byte swapped value.
**/
UINT16
EFIAPI
SwapBytes16 (
IN UINT16 Operand
IN UINT16 Value
)
{
return (UINT16) ((Operand << 8) | (Operand >> 8));
return (UINT16) ((Value<< 8) | (Value>> 8));
}