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