TianoCore EDK2 master
Loading...
Searching...
No Matches
MathDivModU64x64.c
Go to the documentation of this file.
1
11#include <Library/BaseLib.h>
12
13/* https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html */
14__attribute__ ((__used__))
15unsigned long long
16__udivmoddi4 (
17 unsigned long long A,
18 unsigned long long B,
19 unsigned long long *C
20 )
21{
22 return DivU64x64Remainder ((UINT64)A, (UINT64)B, (UINT64 *)C);
23}
UINT64 EFIAPI DivU64x64Remainder(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
unsigned long long UINT64 __attribute__((aligned(8)))
Definition: ProcessorBind.h:28