diff options
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h index e2c00a2033..70e23e448a 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/Llvm_int_lib.h @@ -75,6 +75,22 @@ typedef union { }; } udwords; +// __aeabi_ return values +typedef struct { + UINT64 Quotent; + UINT64 Remainder; +} ulldiv_t; + +typedef struct { + INT64 Quotent; + INT64 Remainder; +} lldiv_t; + +typedef struct { + UINT32 Quotent; + UINT32 Remainder; +} uidiv_return; + #if __GNUC__ #define COUNT_LEADING_ZEROS(_a) __builtin_clz((_a)) #define COUNT_TRAILING_ZEROS(_a) __builtin_ctz((_a)) |