]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/LShiftU64.c
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include "BaseLibInternals.h"
12 Shifts a 64-bit integer left between 0 and 63 bits. The low bits are filled
13 with zeros. The shifted value is returned.
15 This function shifts the 64-bit value Operand to the left by Count bits. The
16 low Count bits are set to zero. The shifted value is returned.
18 If Count is greater than 63, then ASSERT().
20 @param Operand The 64-bit operand to shift left.
21 @param Count The number of bits to shift left.
23 @return Operand << Count.
34 return InternalMathLShiftU64 (Operand
, Count
);