Where interrupts are enabled for the first time?

Joel Sherrill joel at rtems.org
Mon Oct 23 16:09:21 UTC 2017


On Mon, Oct 23, 2017 at 11:05 AM, Afshin Jamaali (Arian) <afjarian at gmail.com
> wrote:

> Hi Everybody
>
> I'm working on a lpc24xx bsp, with an ARM-V7 processor. I know boot_card()
> is called at early stages of initialization and interrupts are disabled
> there, but I cannot find where they are enabled for the first time.
>

It is done as part of the context switch to the first thread/task. The
thread
context normally holds the processor status register (or equivalent) which
has the mask for external interrupts (or equivalent). Terminology and
registers vary by architecture.

--joel

>
> I'll be so pleased if somebody can help me know.
>
> Thanks in Advance,
> Afshin Jamaali
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171023/a5372ab5/attachment-0002.html>


More information about the users mailing list