summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-28 18:15:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-28 18:15:51 +0000
commit75ad73760f33b0d2b30061919d8d4b4bf0b4277b (patch)
treefa1952b4f64567b4a808aa2c9dbb7d672f517c38 /c/src/exec/score/cpu
parent2001-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-75ad73760f33b0d2b30061919d8d4b4bf0b4277b.tar.bz2
2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91. * rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which is used to specify if the port uses the standard macro for this (FALSE). A TRUE setting indicates the port provides its own implementation. * rtems/score/c_isr.inl: Deleted and contents merged into cpu.c. * cpu.c: Received contents of c_isr.inl. * Makefile.am: Deleted reference to c_isr.inl.
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r--c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h7
-rw-r--r--c/src/exec/score/cpu/powerpc/rtems/old-exceptions/cpu.h7
2 files changed, 14 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h b/c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h
index 3e434573ee..e4d4466087 100644
--- a/c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h
+++ b/c/src/exec/score/cpu/powerpc/rtems/new-exceptions/cpu.h
@@ -571,6 +571,13 @@ SCORE_EXTERN struct {
#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (PPC_INTERRUPT_MAX - 1)
/*
+ * This is defined if the port has a special way to report the ISR nesting
+ * level. Most ports maintain the variable _ISR_Nest_level.
+ */
+
+#define CPU_PROVIDES_ISR_IS_IN_PROGRESS TRUE
+
+/*
* Should be large enough to run all RTEMS tests. This insures
* that a "reasonable" small application should not have any problems.
*/
diff --git a/c/src/exec/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/c/src/exec/score/cpu/powerpc/rtems/old-exceptions/cpu.h
index 935f4ca0d3..cdcfd85a62 100644
--- a/c/src/exec/score/cpu/powerpc/rtems/old-exceptions/cpu.h
+++ b/c/src/exec/score/cpu/powerpc/rtems/old-exceptions/cpu.h
@@ -653,6 +653,13 @@ SCORE_EXTERN struct {
#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (PPC_INTERRUPT_MAX - 1)
/*
+ * This is defined if the port has a special way to report the ISR nesting
+ * level. Most ports maintain the variable _ISR_Nest_level.
+ */
+
+#define CPU_PROVIDES_ISR_IS_IN_PROGRESS TRUE
+
+/*
* Should be large enough to run all RTEMS tests. This insures
* that a "reasonable" small application should not have any problems.
*/