Last change
on this file was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
837 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Math worker functions.
|
---|
3 |
|
---|
4 | Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #include "BaseLibInternals.h"
|
---|
10 |
|
---|
11 | /**
|
---|
12 | Multiplies a 64-bit unsigned integer by a 64-bit unsigned integer and
|
---|
13 | generates a 64-bit unsigned result.
|
---|
14 |
|
---|
15 | This function multiplies the 64-bit unsigned value Multiplicand by the 64-bit
|
---|
16 | unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
---|
17 | bit unsigned result is returned.
|
---|
18 |
|
---|
19 | @param Multiplicand A 64-bit unsigned value.
|
---|
20 | @param Multiplier A 64-bit unsigned value.
|
---|
21 |
|
---|
22 | @return Multiplicand * Multiplier.
|
---|
23 |
|
---|
24 | **/
|
---|
25 | UINT64
|
---|
26 | EFIAPI
|
---|
27 | MultU64x64 (
|
---|
28 | IN UINT64 Multiplicand,
|
---|
29 | IN UINT64 Multiplier
|
---|
30 | )
|
---|
31 | {
|
---|
32 | UINT64 Result;
|
---|
33 |
|
---|
34 | Result = InternalMathMultU64x64 (Multiplicand, Multiplier);
|
---|
35 |
|
---|
36 | return Result;
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.