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

Function rt_interrupt_context_push

src/irq.c:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73#ifdef ARCH_USING_IRQ_CTX_LIST
74void rt_interrupt_context_push(rt_interrupt_context_t this_ctx)
75{
76 struct rt_cpu *this_cpu = rt_cpu_self();
77 rt_slist_insert(&this_cpu->irq_ctx_head, &this_ctx->node);
78}
79
80void rt_interrupt_context_pop(void)
81{

Callers 1

rt_hw_trap_irqFunction · 0.85

Calls 2

rt_slist_insertFunction · 0.85
rt_cpu_selfFunction · 0.70

Tested by

no test coverage detected