summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/unix
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 /c/src/exec/score/cpu/unix
parentCorrected macros for assembly language program sections. (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 'c/src/exec/score/cpu/unix')
-rw-r--r--c/src/exec/score/cpu/unix/cpu.h8
1 files changed, 8 insertions, 0 deletions
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
@@ -134,6 +134,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?
*
* If TRUE, then the RTEMS_FLOATING_POINT task attribute is supported.