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/sh/cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'c/src/exec/score/cpu/sh') diff --git a/c/src/exec/score/cpu/sh/cpu.h b/c/src/exec/score/cpu/sh/cpu.h index 310e3271f6..9ff5319aa3 100644 --- a/c/src/exec/score/cpu/sh/cpu.h +++ b/c/src/exec/score/cpu/sh/cpu.h @@ -108,6 +108,13 @@ 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