TianoCore EDK2 master
Loading...
Searching...
No Matches
MathDivU64x64.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__udivdi3 (
17 unsigned long long A,
18 unsigned long long B
19 )
20{
21 return DivU64x64Remainder ((UINT64)A, (UINT64)B, NULL);
22}
UINT64 EFIAPI DivU64x64Remainder(IN UINT64 Dividend, IN UINT64 Divisor, OUT UINT64 *Remainder OPTIONAL)
#define NULL
Definition: Base.h:319
unsigned long long UINT64 __attribute__((aligned(8)))
Definition: ProcessorBind.h:28