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 93... | Line 93... | ||
93 | } |
93 | } |
94 | 94 | ||
95 | /** Enable/disable interrupts form syscall |
95 | /** Enable/disable interrupts form 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 RFLAGS 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 |= RFLAGS_IF; |
103 | *flags |= RFLAGS_IF; |