[rtems commit] powerpc: Delete _CPU_IRQ_info

Sebastian Huber sebh at rtems.org
Fri Jan 9 13:09:38 UTC 2015


Module:    rtems
Branch:    master
Commit:    7f28f23726351c6f6ee7a84a89ee7ddf73349665
Changeset: http://git.rtems.org/rtems/commit/?id=7f28f23726351c6f6ee7a84a89ee7ddf73349665

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Dec 23 11:05:21 2014 +0100

powerpc: Delete _CPU_IRQ_info

---

 cpukit/score/cpu/powerpc/rtems/score/cpu.h | 16 ----------------
 testsuites/sptests/spsize/size.c           |  3 +--
 2 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 2d3f05f..e53cfbc 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -582,22 +582,6 @@ typedef struct CPU_Interrupt_frame {
 #define CPU_MODES_INTERRUPT_MASK   0x00000001 /* interrupt level in mode */
 
 /*
- *  Nothing prevents the porter from declaring more CPU specific variables.
- */
-
-#ifndef ASM
-
-SCORE_EXTERN struct {
-  uint32_t      *Disable_level;
-  void          *Stack;
-  volatile bool *Switch_necessary;
-  bool          *Signal;
-
-} _CPU_IRQ_info CPU_STRUCTURE_ALIGNMENT;
-
-#endif /* ndef ASM */
-
-/*
  *  The size of the floating point context area.  On some CPUs this
  *  will not be a "sizeof" because the format of the floating point
  *  area is not defined -- only the size is.  This is usually on
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 9e4823e..c68199d 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -455,8 +455,7 @@ uninitialized += (sizeof _CPU_Null_fp_context) +
 
 /* cpu.h */
 uninitialized += (sizeof _CPU_Interrupt_stack_low) +
-                 (sizeof _CPU_Interrupt_stack_high) +
-                 (sizeof _CPU_IRQ_info);
+                 (sizeof _CPU_Interrupt_stack_high);
 
 #endif
 #endif /* !unix */



More information about the vc mailing list