From 937a6f3cefda65300a82e25fd024607881eae53c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Jun 1998 19:00:17 +0000 Subject: Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just the vector number to user ISR's and other ports could pass both the vector number and a pointer to the ISF. --- cpukit/score/include/rtems/score/isr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpukit/score/include') diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h index 8016e2116b..97ffe7f2ec 100644 --- a/cpukit/score/include/rtems/score/isr.h +++ b/cpukit/score/include/rtems/score/isr.h @@ -46,9 +46,16 @@ typedef void ISR_Handler; * Pointer to an ISR Handler */ +#if (CPU_ISR_PASSES_FRAME_POINTER == 1) +typedef ISR_Handler ( *ISR_Handler_entry )( + ISR_Vector_number, + CPU_Interrupt_frame * + ); +#else typedef ISR_Handler ( *ISR_Handler_entry )( ISR_Vector_number ); +#endif /* * This constant promotes out the number of vectors truly supported by * the current CPU being used. This is usually the number of distinct vectors -- cgit v1.2.3