summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/types.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-11 10:51:25 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-18 07:30:32 +0100
commit141e16d22538bc9f3f79466a774fdad3a9128533 (patch)
treec4f224760683fd1dca68cfb7597ae851ab068b60 /cpukit/rtems/include/rtems/rtems/types.h
parentbsps/mips: Use <libcpu/isr_entries.h> (diff)
downloadrtems-141e16d22538bc9f3f79466a774fdad3a9128533.tar.bz2
rtems: Conditionally define rtems_interrupt_frame
Update #2808.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/types.h b/cpukit/rtems/include/rtems/rtems/types.h
index 978947615e..82c0edd3c3 100644
--- a/cpukit/rtems/include/rtems/rtems/types.h
+++ b/cpukit/rtems/include/rtems/rtems/types.h
@@ -98,13 +98,18 @@ typedef Context_Control rtems_context;
typedef Context_Control_fp rtems_context_fp;
#endif
+#if (CPU_ISR_PASSES_FRAME_POINTER == TRUE)
/**
* @brief Defines the format of the interrupt stack frame as it appears to a
* user ISR.
*
- * This data structure may not be defined on all ports
+ * This data structure is only provided if the interrupt stack frame is passed
+ * to the ISR handler.
+ *
+ * @see rtems_interrupt_catch().
*/
typedef CPU_Interrupt_frame rtems_interrupt_frame;
+#endif
/**
* @brief Information structure returned by the Heap Handler via the Region