[PATCH] score: Split _Terminate and call _Terminate_CPU_Fatal_halt.

Sebastian Huber sebastian.huber at embedded-brains.de
Sun Apr 27 12:30:12 UTC 2014


On 04/27/2014 02:13 PM, Chris Johns wrote:
> Splitting the call to _CPU_Fatal_halt out into a separate function
> allows the rtems-test gdb support the ability to halt once the
> _Terminate function has completed it's work.
>
> This change allows the BeagleBoard xM BSP to pass a number of
> important tests.

I don't find a BeagleBord BSP in the tree.

In case the BSP has to do fancy things during termination, why don't you 
do this in bsp_reset() or bsp_fatal_extension()?

I guess the bsp.h has no:

#include <bsp/default-initial-extension.h>

The way to control the termination sequence is via user extensions and 
not weak functions.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list