About interrupt processing

Richi Dubey richidubey at gmail.com
Mon May 24 09:45:21 UTC 2021


When the CPU issues an interrupt, and when the interrupt is processed,
where does it run the code from? Is there a place where the commands are
written based on the interrupt number?

I followed the call to  _Scheduler_SMP_Allocate_processor_exact
which calls :
 -> _Thread_Dispatch_request
calls _CPU_SMP_Send_interrupt(), the implementation of which is bsp

on arm a9
on raspberry pi
on i386
and so on...

So, can someone please help me know what gets executed right after the
interrupt is accepted by the CPU from the IRQ? Can someone point me to the
source code - where the CPU possibly checks the value of heir and does a
context switch?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210524/7dc4267e/attachment.html>

More information about the devel mailing list