summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/m68k/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-25 18:46:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-25 18:46:47 +0000
commitc80add4623635501a1678d9389980e1864dfa10f (patch)
tree7340d7dd5d0af3ed8b0329a035dc43c3c22b6636 /c/src/exec/score/cpu/m68k/cpu.h
parentAdded group and example around tree pictures in html. (diff)
downloadrtems-c80add4623635501a1678d9389980e1864dfa10f.tar.bz2
m68k software interrupt stack support from Chris Johns and Eric Norum.
Diffstat (limited to 'c/src/exec/score/cpu/m68k/cpu.h')
-rw-r--r--c/src/exec/score/cpu/m68k/cpu.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/c/src/exec/score/cpu/m68k/cpu.h b/c/src/exec/score/cpu/m68k/cpu.h
index 1d484eb0ab..a5c3672c26 100644
--- a/c/src/exec/score/cpu/m68k/cpu.h
+++ b/c/src/exec/score/cpu/m68k/cpu.h
@@ -34,19 +34,16 @@ extern "C" {
/*
* Use the m68k's hardware interrupt stack support and have the
* interrupt manager allocate the memory for it.
- *
- * NOTE: The definitions when M68K_HAS_SEPARATE_STACKS is 0 should
- * change when the software interrupt stack support is implemented.
*/
#if ( M68K_HAS_SEPARATE_STACKS == 1)
-#define CPU_HAS_SOFTWARE_INTERRUPT_STACK FALSE
-#define CPU_HAS_HARDWARE_INTERRUPT_STACK TRUE
-#define CPU_ALLOCATE_INTERRUPT_STACK TRUE
+#define CPU_HAS_SOFTWARE_INTERRUPT_STACK 0
+#define CPU_HAS_HARDWARE_INTERRUPT_STACK 1
+#define CPU_ALLOCATE_INTERRUPT_STACK 1
#else
-#define CPU_HAS_SOFTWARE_INTERRUPT_STACK FALSE
-#define CPU_HAS_HARDWARE_INTERRUPT_STACK FALSE
-#define CPU_ALLOCATE_INTERRUPT_STACK FALSE
+#define CPU_HAS_SOFTWARE_INTERRUPT_STACK 1
+#define CPU_HAS_HARDWARE_INTERRUPT_STACK 0
+#define CPU_ALLOCATE_INTERRUPT_STACK 1
#endif
/*