| 212 | } |
| 213 | |
| 214 | void rt_hw_interrupt_umask(int irq) |
| 215 | { |
| 216 | if (irq < LIOINTC0_IRQBASE + 32) |
| 217 | { |
| 218 | HWREG32(LIOINTC0_BASE + LIOINTC_REG_INTC_ENABLE) = (1 << irq); |
| 219 | } |
| 220 | else if (irq < LIOINTC1_IRQBASE + 32) |
| 221 | { |
| 222 | HWREG32(LIOINTC1_BASE + LIOINTC_REG_INTC_ENABLE) = (1 << (irq - 32)); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | void rt_hw_interrupt_mask(int irq) |
| 227 | { |
no outgoing calls
no test coverage detected