TianoCore EDK2 master
Loading...
Searching...
No Matches
SwapBytes64.c File Reference

Go to the source code of this file.

Functions

UINT64 EFIAPI InternalMathSwapBytes64 (IN UINT64 Operand)
 

Detailed Description

Implementation of 64-bit swap bytes

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SwapBytes64.c.

Function Documentation

◆ InternalMathSwapBytes64()

UINT64 EFIAPI InternalMathSwapBytes64 ( IN UINT64  Operand)

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
OperandA 64-bit unsigned value.
Returns
The byte swaped Operand.

Definition at line 23 of file SwapBytes64.c.