Hello Joel,
Thanks for your comments.
On 07/03/2014 04:27 PM, Joel Sherrill wrote:
This looks mostly mechanical and the biggest issue is
what to do with the source in the generic shutdown
case. The first thing is that I think this is already handled
and the information is stored in
_Internal_
This looks mostly mechanical and the biggest issue is
what to do with the source in the generic shutdown
case. The first thing is that I think this is already handled
and the information is stored in
_Internal_errors_What_happened in score/src/interr.c
before _CPU_Fatal_halt() is invoked. I would
Without the source the error code does not say that much.
Let it be up to the CPU/BSP to determine the error code
reported on fatal shutdown.
This patch does not change the current behaviour, just
adds the option to handle the source of the fatal halt.
---
cpukit/score/cpu/arm/rtems/score/cpu.h