[PATCH v1 2/5] cpukit: Add Exception Manager

Kinsey Moore kinsey.moore at oarcorp.com
Mon Aug 30 12:27:02 UTC 2021


On 8/30/2021 00:42, Sebastian Huber wrote:
> Hello Kinsey,
>
> why can't you use the existing fatal error extension for this? You just have to test for an RTEMS_FATAL_SOURCE_EXTENSION source.  The fatal code is a pointer to the exception frame.

Unfortunately, the fatal error extensions framework necessarily assumes 
that the exception is fatal and so does not include the machinery to 
perform a thread dispatch or restore the exception frame for additional 
execution. It could theoretically be done in the fatal error extensions 
context, but it would end up being reimplemented for every architecture 
and you'd have to unwind the stack manually. I'm sure there are other 
ragged edges that would have to be smoothed over as well.


Kinsey



More information about the devel mailing list