VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/LShiftU64.c@ 107675

最後變更 在這個檔案從107675是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 808 位元組
 
1/** @file
2 Math worker functions.
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include "BaseLibInternals.h"
10
11/**
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.
14
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.
17
18 If Count is greater than 63, then ASSERT().
19
20 @param Operand The 64-bit operand to shift left.
21 @param Count The number of bits to shift left.
22
23 @return Operand << Count.
24
25**/
26UINT64
27EFIAPI
28LShiftU64 (
29 IN UINT64 Operand,
30 IN UINTN Count
31 )
32{
33 ASSERT (Count < 64);
34 return InternalMathLShiftU64 (Operand, Count);
35}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette