diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-06 14:03:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-26 07:54:25 +0200 |
commit | 4969af41028ff7861753efe451826c2c42fc45b2 (patch) | |
tree | 5a8b0187b4d4a77ae59830b8114adb1376aadb7b /cpukit/include/rtems/score/interr.h | |
parent | rtems: Add rtems_interrupt_is_pending() (diff) | |
download | rtems-4969af41028ff7861753efe451826c2c42fc45b2.tar.bz2 |
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.
Diffstat (limited to 'cpukit/include/rtems/score/interr.h')
-rw-r--r-- | cpukit/include/rtems/score/interr.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -144,6 +144,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. * * This enum value ensures that the enum type needs at least 32-bits for |