[rtems commit] sparc: Delete unused ISF_STACK_FRAME_OFFSET

Sebastian Huber sebh at rtems.org
Tue May 26 12:10:15 UTC 2015


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue May 26 14:08:11 2015 +0200

sparc: Delete unused ISF_STACK_FRAME_OFFSET

---

 cpukit/score/cpu/sparc/rtems/score/cpu.h   | 2 --
 cpukit/score/cpu/sparc64/rtems/score/cpu.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 64e8750..9f17617 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -701,8 +701,6 @@ typedef struct {
  */
 
 /** This macro defines an offset into the ISF for use in assembly. */
-#define ISF_STACK_FRAME_OFFSET 0x00
-/** This macro defines an offset into the ISF for use in assembly. */
 #define ISF_PSR_OFFSET         CPU_MINIMUM_STACK_FRAME_SIZE + 0x00
 /** This macro defines an offset into the ISF for use in assembly. */
 #define ISF_PC_OFFSET          CPU_MINIMUM_STACK_FRAME_SIZE + 0x04
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
index a222c0b..c16e865 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
@@ -518,7 +518,6 @@ typedef struct {
  *  Offsets of fields with CPU_Interrupt_frame for assembly routines.
  */
 
-#define ISF_STACK_FRAME_OFFSET 0x00
 #define ISF_TSTATE_OFFSET      CPU_MINIMUM_STACK_FRAME_SIZE + 0x00
 #define ISF_TPC_OFFSET         CPU_MINIMUM_STACK_FRAME_SIZE + 0x08
 #define ISF_TNPC_OFFSET        CPU_MINIMUM_STACK_FRAME_SIZE + 0x10




More information about the vc mailing list