| 84 | } |
| 85 | |
| 86 | void *rt_interrupt_context_get(void) |
| 87 | { |
| 88 | struct rt_cpu *this_cpu = rt_cpu_self(); |
| 89 | return rt_slist_first_entry(&this_cpu->irq_ctx_head, struct rt_interrupt_context, node)->context; |
| 90 | } |
| 91 | #endif /* ARCH_USING_IRQ_CTX_LIST */ |
| 92 | |
| 93 | /** |
nothing calls this directly
no test coverage detected