Rev 2312 | Rev 2343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2312 | Rev 2341 | ||
|---|---|---|---|
| Line 71... | Line 71... | ||
| 71 | * |
71 | * |
| 72 | * @param ipl Saved interrupt priority level. |
72 | * @param ipl Saved interrupt priority level. |
| 73 | */ |
73 | */ |
| 74 | void interrupts_restore(ipl_t ipl) |
74 | void interrupts_restore(ipl_t ipl) |
| 75 | { |
75 | { |
| - | 76 | /* |
|
| - | 77 | current_status_reg_control_write( (current_status_reg_read() & |
|
| - | 78 | ~STATUS_REG_IRQ_DISABLED_BIT) | (ipl & STATUS_REG_IRQ_DISABLED_BIT) ); |
|
| - | 79 | */ |
|
| - | 80 | ||
| 76 | current_status_reg_control_write(current_status_reg_read() | |
81 | current_status_reg_control_write(current_status_reg_read() | |
| 77 | (ipl & STATUS_REG_IRQ_DISABLED_BIT)); |
82 | (ipl & STATUS_REG_IRQ_DISABLED_BIT)); |
| 78 | } |
83 | } |
| 79 | 84 | ||
| 80 | /** Read interrupt priority level. |
85 | /** Read interrupt priority level. |