]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/MultU64x32.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / MultU64x32.c
CommitLineData
e1f414b6 1/** @file\r
2 Math worker functions.\r
3\r
127010dd 4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
9344f092 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
e1f414b6 6\r
7**/\r
8\r
e1f414b6 9#include "BaseLibInternals.h"\r
10\r
11/**\r
127010dd 12 Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer and\r
e1f414b6 13 generates a 64-bit unsigned result.\r
14\r
127010dd 15 This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit\r
e1f414b6 16 unsigned value Multiplier and generates a 64-bit unsigned result. This 64-\r
17 bit unsigned result is returned.\r
18\r
19 @param Multiplicand A 64-bit unsigned value.\r
20 @param Multiplier A 32-bit unsigned value.\r
21\r
127010dd 22 @return Multiplicand * Multiplier.\r
e1f414b6 23\r
24**/\r
25UINT64\r
26EFIAPI\r
27MultU64x32 (\r
2f88bd3a
MK
28 IN UINT64 Multiplicand,\r
29 IN UINT32 Multiplier\r
e1f414b6 30 )\r
31{\r
2f88bd3a 32 UINT64 Result;\r
e1f414b6 33\r
34 Result = InternalMathMultU64x32 (Multiplicand, Multiplier);\r
35\r
36 return Result;\r
37}\r