| 269 | } |
| 270 | |
| 271 | struct rt_pic_irq *rt_pic_find_ipi(struct rt_pic *pic, int ipi_index) |
| 272 | { |
| 273 | struct rt_pic_irq *pirq = &_pirq_hash[ipi_index]; |
| 274 | |
| 275 | RT_ASSERT(ipi_index < RT_MAX_IPI); |
| 276 | RT_ASSERT(pirq->pic == pic); |
| 277 | |
| 278 | return pirq; |
| 279 | } |
| 280 | |
| 281 | struct rt_pic_irq *rt_pic_find_pirq(struct rt_pic *pic, int irq) |
| 282 | { |
no outgoing calls
no test coverage detected