]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/LRotU64.c
aa6a9a22514a91f2a24530c1a020e6c63aac7548
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include "BaseLibInternals.h"
12 Rotates a 64-bit integer left between 0 and 63 bits, filling the low bits
13 with the high bits that were rotated.
15 This function rotates the 64-bit value Operand to the left by Count bits. The
16 low Count bits are fill with the high Count bits of Operand. The rotated
19 If Count is greater than 63, then ASSERT().
21 @param Operand The 64-bit operand to rotate left.
22 @param Count The number of bits to rotate left.
24 @return Operand << Count
35 return InternalMathLRotU64 (Operand
, Count
);