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 47... | Line 47... | ||
47 | int ddi_enable_iospace_arch(task_t *task, __address ioaddr, size_t size) |
47 | int ddi_enable_iospace_arch(task_t *task, __address ioaddr, size_t size) |
48 | { |
48 | { |
49 | return 0; |
49 | return 0; |
50 | } |
50 | } |
51 | 51 | ||
52 | /** Enable/disable interrupts form syscall |
52 | /** Enable/disable interrupts for syscall |
53 | * |
53 | * |
54 | * @param enable If non-zero, interrupts are enabled, otherwise disabled |
54 | * @param enable If non-zero, interrupts are enabled, otherwise disabled |
55 | * @param flags CP0 flags register |
55 | * @param flags CP0 status register |
56 | */ |
56 | */ |
57 | __native ddi_int_control_arch(__native enable, __native *flags) |
57 | __native ddi_int_control_arch(__native enable, __native *flags) |
58 | { |
58 | { |
59 | if (enable) |
59 | if (enable) |
60 | *flags |= cp0_status_ie_enabled_bit; |
60 | *flags |= cp0_status_ie_enabled_bit; |