MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_interrupt_context_get

Function rt_interrupt_context_get

src/irq.c:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void *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/**

Callers

nothing calls this directly

Calls 1

rt_cpu_selfFunction · 0.70

Tested by

no test coverage detected