Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1888 | ||
|---|---|---|---|
| Line 24... | Line 24... | ||
| 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | /** @addtogroup genarch |
29 | /** @addtogroup genarch |
| 30 | * @{ |
30 | * @{ |
| 31 | */ |
31 | */ |
| 32 | /** @file |
32 | /** @file |
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #ifndef __SOFTINT_DIVISION_H__ |
35 | #ifndef KERN_DIVISION_H_ |
| 36 | #define __SOFTINT_DIVISION_H__ |
36 | #define KERN_DIVISION_H_ |
| 37 | - | ||
| 38 | 37 | ||
| 39 | /* 32bit integer division */ |
38 | /* 32bit integer division */ |
| 40 | int __divsi3(int a, int b); |
39 | int __divsi3(int a, int b); |
| 41 | 40 | ||
| 42 | /* 64bit integer division */ |
41 | /* 64bit integer division */ |
| Line 62... | Line 61... | ||
| 62 | 61 | ||
| 63 | unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b, unsigned long long *c); |
62 | unsigned long long __udivmoddi3(unsigned long long a, unsigned long long b, unsigned long long *c); |
| 64 | 63 | ||
| 65 | #endif |
64 | #endif |
| 66 | 65 | ||
| 67 | - | ||
| 68 | /** @} |
66 | /** @} |
| 69 | */ |
67 | */ |
| 70 | - | ||