summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-26 14:34:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-26 14:36:56 +0200
commita20f6d7cbf5730404eaa7130b818bbbd28bb1124 (patch)
treec1425a3f01b1384e5c2366ee97bbde4e630dc1d3
parent23720540861621b915c546bbf8042319a7708816 (diff)
validation: Fix call within ISR support
-rw-r--r--testsuites/validation/tx-call-within-isr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/validation/tx-call-within-isr.c b/testsuites/validation/tx-call-within-isr.c
index 3f9ceae201..226647c0bc 100644
--- a/testsuites/validation/tx-call-within-isr.c
+++ b/testsuites/validation/tx-call-within-isr.c
@@ -43,6 +43,11 @@
#include <rtems/sysinit.h>
#include <rtems/score/chainimpl.h>
+#include <bsp.h>
+
+/* Some target architectures need this variable for <tm27.h> */
+uint32_t Interrupt_nest;
+
#define _RTEMS_TMTEST27
#include <tm27.h>