Xenomai
3.0.5
|
A collection of helpers performing arithmetics not implicitly available from kernel context via GCC helpers. More...
Functions | |
unsigned long long | xnarch_generic_full_divmod64 (unsigned long long a, unsigned long long b, unsigned long long *rem) |
Architecture-independent div64 operation with remainder. More... | |
A collection of helpers performing arithmetics not implicitly available from kernel context via GCC helpers.
Many of these routines enable 64bit arithmetics on 32bit systems. Xenomai architecture ports normally implement the performance critical ones in hand-crafted assembly code (see kernel/cobalt/arch/<arch>/include/asm/xenomai/uapi/arith.h).
unsigned long long xnarch_generic_full_divmod64 | ( | unsigned long long | a, |
unsigned long long | b, | ||
unsigned long long * | rem | ||
) |
Architecture-independent div64 operation with remainder.
a | dividend |
b | divisor |
rem | if non-NULL, a pointer to a 64bit variable for collecting the remainder from the division. |