MdePkg/Library/BaseLib/SwapBytes64.c File Reference


Functions

UINT64 EFIAPI SwapBytes64 (IN UINT64 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

UINT64 EFIAPI SwapBytes64 ( IN UINT64  Value  ) 

Switches the endianess of a 64-bit integer.

This function swaps the bytes in a 64-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 64-bit unsigned value.
Returns:
The byte swapped Value.

References InternalMathSwapBytes64().

Referenced by DevPathFromTextFibreEx(), DevPathFromTextSasEx(), ScsiRead16Command(), and ScsiWrite16Command().


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