ZYNQ Exception Handling
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Nov 4 12:19:24 UTC 2019
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.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 users
mailing list