Last change
on this file since 89916 was 80721, checked in by vboxsync, 6 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
902 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 |
|
---|
10 |
|
---|
11 |
|
---|
12 | #include "BaseLibInternals.h"
|
---|
13 |
|
---|
14 | /**
|
---|
15 | Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer and
|
---|
16 | generates a 64-bit unsigned result.
|
---|
17 |
|
---|
18 | This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit
|
---|
19 | unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
---|
20 | bit unsigned result is returned.
|
---|
21 |
|
---|
22 | @param Multiplicand A 64-bit unsigned value.
|
---|
23 | @param Multiplier A 32-bit unsigned value.
|
---|
24 |
|
---|
25 | @return Multiplicand * Multiplier.
|
---|
26 |
|
---|
27 | **/
|
---|
28 | UINT64
|
---|
29 | EFIAPI
|
---|
30 | MultU64x32 (
|
---|
31 | IN UINT64 Multiplicand,
|
---|
32 | IN UINT32 Multiplier
|
---|
33 | )
|
---|
34 | {
|
---|
35 | UINT64 Result;
|
---|
36 |
|
---|
37 | Result = InternalMathMultU64x32 (Multiplicand, Multiplier);
|
---|
38 |
|
---|
39 | return Result;
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.