Rev 1212 | Rev 1227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1212 | Rev 1223 | ||
|---|---|---|---|
| Line 90... | Line 90... | ||
| 90 | bitmap_clear_range(&task->arch.iomap, (index_t) ioaddr, (count_t) size); |
90 | bitmap_clear_range(&task->arch.iomap, (index_t) ioaddr, (count_t) size); |
| 91 | 91 | ||
| 92 | return 0; |
92 | return 0; |
| 93 | } |
93 | } |
| 94 | 94 | ||
| 95 | /** Enable/disable interrupts form syscall |
95 | /** Enable/disable interrupts for syscall |
| 96 | * |
96 | * |
| 97 | * @param enable If non-zero, interrupts are enabled, otherwise disabled |
97 | * @param enable If non-zero, interrupts are enabled, otherwise disabled |
| 98 | * @param flags CP0 flags register |
98 | * @param flags EFLAGS flags register |
| 99 | */ |
99 | */ |
| 100 | __native ddi_int_control_arch(__native enable, __native *flags) |
100 | __native ddi_int_control_arch(__native enable, __native *flags) |
| 101 | { |
101 | { |
| 102 | if (enable) |
102 | if (enable) |
| 103 | *flags |= EFLAGS_IF; |
103 | *flags |= EFLAGS_IF; |