MdePkg/Library/BaseLib/SwapBytes32.c File Reference


Functions

UINT32 EFIAPI SwapBytes32 (IN UINT32 Value)

Detailed Description

Math worker functions.

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 http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

UINT32 EFIAPI SwapBytes32 ( IN UINT32  Value  ) 

Switches the endianess of a 32-bit integer.

This function swaps the bytes in a 32-bit unsigned value to switch the value from little endian to big endian or vice versa. The byte swapped value is returned.

Parameters:
Value A 32-bit unsigned value.
Returns:
The byte swapped Value.

References SwapBytes16().

Referenced by InternalMathSwapBytes64(), ScsiRead10Command(), ScsiRead16Command(), ScsiWrite10Command(), and ScsiWrite16Command().


Generated on Thu Sep 24 23:14:22 2015 for MdePkg[ALL] by  doxygen 1.5.7.1