CPU Context Switch Confusion

Richi Dubey richidubey at gmail.com
Mon Jul 5 05:14:15 UTC 2021


Hi,

You can try setting up breakpoints at various scheduler decision points,
and the function that is called by the executing thread just before it
performs context switch. Did you try that?

On Thu, Jul 1, 2021 at 4:36 AM <gerberhe11 at gmail.com> wrote:

> Hello,
>
>
>
> I am working on re-implementing support for the uC5282 board in Qemu for
> use with RTEMS. I think I am getting close, but am running into some
> debugging issues in regards to context switching. I am using the RTEMS
> ‘hello’ application for uC5282 to work on and debug my modifications.
> Currently, at some point during execution, the context of RTEMS goes to the
> idle thread instead of the init thread. I am struggling somewhat with
> finding a way to debug this context switch, and would really appreciate any
> advice or help if anyone may have some to give! I can also explain more
> thoroughly what is happening, along with providing debugging info, if
> anyone would like to help or has any ideas!
>
>
>
> Thanks so much,
>
>
>
> *Harrison Gerber*
>
> gerberhe11 at gmail.com
>
> 720-288-7308
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
> <#m_8693570744630818080_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210705/96249076/attachment.html>


More information about the devel mailing list