On 04/11/2019 12:56, Andy James wrote:
I am attempting to port some code from a LEON3 application to the ZYNQ,
and there are some exception handling routines, such as :
status = rtems_interrupt_catch(handleTrap,
SPARC_SYNCHRONOUS_TRAP(ILLEGAL_INSTRUCTION), &oldHandle);
Is there an equivalent for the ZYNQ?
You can use a fatal error handler. Test for source ==
RTEMS_FATAL_SOURCE_EXCEPTION. Example:
testsuites/sptests/spfatal26/init.c
--
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.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users