Click here to Skip to main content
15,882,837 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a ARM xscale board, where for data abort exception there is an exception handler which is getting executed in the task context. Is this correct?
whenever an abort happens,cpu will switch to Abort mode and use a separate stack and the handler will be executed in context similar to ISR context.This is what my understanding.

But here in the xscale board, the exception handler itself is executed in task context.
Say Task-A is running and it is causing some exception and then cpu switches to abort mode and executing the abort handler code in the same task context which caused the exception. Is it correct? Is it a proper way of implementing exception handlers?
Are is there any advantage in implementing exception handlers in task context?
could someone elaborate?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900