VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/BaseLib/MultS64x64.c@ 77599

最後變更 在這個檔案從77599是 48674,由 vboxsync 提交於 12 年 前

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/** @file
2 Math worker functions.
3
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15
16
17
18#include "BaseLibInternals.h"
19
20/**
21 Multiplies a 64-bit signed integer by a 64-bit signed integer and generates a
22 64-bit signed result.
23
24 This function multiplies the 64-bit signed value Multiplicand by the 64-bit
25 signed value Multiplier and generates a 64-bit signed result. This 64-bit
26 signed result is returned.
27
28 @param Multiplicand A 64-bit signed value.
29 @param Multiplier A 64-bit signed value.
30
31 @return Multiplicand * Multiplier.
32
33**/
34INT64
35EFIAPI
36MultS64x64 (
37 IN INT64 Multiplicand,
38 IN INT64 Multiplier
39 )
40{
41 return (INT64)MultU64x64 ((UINT64) Multiplicand, (UINT64) Multiplier);
42}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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