From 4969af41028ff7861753efe451826c2c42fc45b2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Jul 2021 14:03:41 +0200 Subject: rtems: Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT Add RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT as the fatal source for spurious interrupts. Use the interrupt vector number of the spurious interrupt for the fatal code. Update #3269. --- cpukit/include/rtems/score/interr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpukit/include/rtems/score/interr.h') diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index 33e9524b65..e5a0a62cf6 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/include/rtems/score/interr.h @@ -143,6 +143,13 @@ typedef enum { */ RTEMS_FATAL_SOURCE_HEAP = 13, + /** + * @brief Fatal source for spurious interrupts. + * + * The fatal code is the interrupt vector number of the spurious interrupt. + */ + RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT = 14, + /** * @brief The last available fatal source. * -- cgit v1.2.3