summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-03 19:00:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-03 19:00:17 +0000
commit937a6f3cefda65300a82e25fd024607881eae53c (patch)
treeec5e63c45b8e85b7b60362b5adef2d3e251eff71 /cpukit/score/include
parent75d0b0b83ac50c11c6f5d91ed0bdc9997e4a2da1 (diff)
downloadrtems-937a6f3cefda65300a82e25fd024607881eae53c.tar.bz2
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.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/isr.h7
1 files changed, 7 insertions, 0 deletions
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