[rtems commit] sparc: Delete unused CONTEXT_CONTROL_SIZE

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


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

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

sparc: Delete unused CONTEXT_CONTROL_SIZE

---

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

diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 9f17617..5d5f1e4 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -547,9 +547,6 @@ typedef struct {
   #define SPARC_CONTEXT_CONTROL_IS_EXECUTING_OFFSET 0x58
 #endif
 
-/** This defines the size of the context area for use in assembly. */
-#define CONTEXT_CONTROL_SIZE 0x68
-
 #ifndef ASM
 /**
  * @brief SPARC basic context.
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
index c16e865..baea12b 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
@@ -388,8 +388,6 @@ typedef struct {
 #define ISR_DISPATCH_DISABLE_STACK_OFFSET 0xF8
 #define ISR_PAD_OFFSET 0xFC
 
-#define CONTEXT_CONTROL_SIZE 0x100
-
 /*
  *  The floating point context area.
  */



More information about the vc mailing list