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. --- c/src/exec/score/cpu/unix/cpu.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'c/src/exec/score/cpu/unix') diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index 1667438f92..5eb4147df6 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -133,6 +133,14 @@ extern "C" { #define CPU_ALLOCATE_INTERRUPT_STACK FALSE +/* + * Does the RTEMS invoke the user's ISR with the vector number and + * a pointer to the saved interrupt frame (1) or just the vector + * number (0)? + */ + +#define CPU_ISR_PASSES_FRAME_POINTER 0 + /* * Does the CPU have hardware floating point? * -- cgit v1.2.3