Rev 2971 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2971 | Rev 2975 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | #include <sys/types.h> |
37 | #include <sys/types.h> |
38 | #include <align.h> |
38 | #include <align.h> |
39 | #include <tls.h> |
39 | #include <tls.h> |
40 | 40 | ||
41 | void _putint(int i); |
- | |
42 | /* FIXME */ |
- | |
43 | void __udivdi3(void); |
- | |
44 | void __umoddi3(void); |
- | |
45 | - | ||
46 | static void kputint(unsigned i) |
41 | static void kputint(unsigned i) |
47 | { |
42 | { |
48 | unsigned dummy; |
43 | unsigned dummy; |
49 | asm volatile ( |
44 | asm volatile ( |
50 | "movl $30, %%eax;" |
45 | "movl $30, %%eax;" |
Line 76... | Line 71... | ||
76 | tls = (uint8_t *)__tcb_get() - tls_size; |
71 | tls = (uint8_t *)__tcb_get() - tls_size; |
77 | 72 | ||
78 | return tls + ti->ti_offset; |
73 | return tls + ti->ti_offset; |
79 | } |
74 | } |
80 | 75 | ||
81 | void _putint(int i) |
- | |
82 | { |
- | |
83 | } |
- | |
84 | - | ||
85 | /** @} |
76 | /** @} |
86 | */ |
77 | */ |