From 141e16d22538bc9f3f79466a774fdad3a9128533 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 11 Nov 2016 10:51:25 +0100 Subject: rtems: Conditionally define rtems_interrupt_frame Update #2808. --- cpukit/rtems/include/rtems/rtems/types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpukit/rtems/include/rtems/rtems/types.h') 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 -- cgit v1.2.3