summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems')
-rw-r--r--c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/c_isr.inl4
-rw-r--r--c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h7
2 files changed, 7 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/c_isr.inl b/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/c_isr.inl
deleted file mode 100644
index 706d4f7e4f..0000000000
--- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/c_isr.inl
+++ /dev/null
@@ -1,4 +0,0 @@
-RTEMS_INLINE_ROUTINE boolean _ISR_Is_in_progress( void )
-{
- return (_ISR_Nest_level != 0);
-}
diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h b/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h
index 935f4ca0d3..cdcfd85a62 100644
--- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h
+++ b/c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/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.
*/