Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/softint/division.h

    rc7afcba7 r0eda6e09  
    3636#define KERN_DIVISION_H_
    3737
    38 extern int __divsi3(int, int);
    39 extern long long __divdi3(long long, long long);
     38/* 32bit integer division */
     39int __divsi3(int a, int b);
    4040
    41 extern unsigned int __udivsi3(unsigned int, unsigned int);
    42 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
     41/* 64bit integer division */
     42long long __divdi3(long long a, long long b);
    4343
    44 extern int __modsi3(int, int);
    45 extern long long __moddi3(long long, long long);
     44/* 32bit unsigned integer division */
     45unsigned int __udivsi3(unsigned int a, unsigned int b);
    4646
    47 extern unsigned int __umodsi3(unsigned int, unsigned int);
    48 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
     47/* 64bit unsigned integer division */
     48unsigned long long __udivdi3(unsigned long long a, unsigned long long b);
    4949
    50 extern int __divmodsi3(int, int, int *);
    51 extern unsigned int __udivmodsi3(unsigned int, unsigned int, unsigned int *);
     50/* 32bit remainder of the signed division */
     51int __modsi3(int a, int b);
    5252
    53 extern long long __divmoddi3(long long, long long, long long *);
    54 extern unsigned long long __udivmoddi3(unsigned long long, unsigned long long,
    55     unsigned long long *);
     53/* 64bit remainder of the signed division */
     54long long __moddi3(long long a, long long b);
     55
     56/* 32bit remainder of the unsigned division */
     57unsigned int __umodsi3(unsigned int a, unsigned int b);
     58
     59/* 64bit remainder of the unsigned division */
     60unsigned long long __umoddi3(unsigned long long a, unsigned long long b);
     61
     62unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b, unsigned long long *c);
    5663
    5764#endif
Note: See TracChangeset for help on using the changeset viewer.