X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FLShiftU64.c;h=d13fd2185d956105b4647e3f589144d4ce1d1dd7;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hp=9686c2aa98fbb8eda3c3494c41cccbe4d8d2a0cb;hpb=f734a10ab104f1072f94cab66a5489e0fd8fce8a;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/LShiftU64.c b/MdePkg/Library/BaseLib/LShiftU64.c index 9686c2aa98..d13fd2185d 100644 --- a/MdePkg/Library/BaseLib/LShiftU64.c +++ b/MdePkg/Library/BaseLib/LShiftU64.c @@ -1,22 +1,17 @@ /** @file Math worker functions. - Copyright (c) 2006, Intel Corporation
- All rights reserved. This program and the accompanying materials + 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 + 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. **/ -// -// Include common header file for this module. -// - - #include "BaseLibInternals.h" /** @@ -31,7 +26,7 @@ @param Operand The 64-bit operand to shift left. @param Count The number of bits to shift left. - @return Operand << Count + @return Operand << Count. **/ UINT64 @@ -41,6 +36,6 @@ LShiftU64 ( IN UINTN Count ) { - ASSERT (Count < sizeof (Operand) * 8); + ASSERT (Count < 64); return InternalMathLShiftU64 (Operand, Count); }