summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/h8300/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 55506442d5..4843e09871 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -388,6 +388,9 @@ typedef struct {
uint32_t xxx nogap;
} Context_Control;
+#define _CPU_Context_Get_SP( _context ) \
+ (_context)->er7
+
typedef struct {
double some_float_register[2];
} Context_Control_fp;