summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/sh/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index 8fc01bd9e4..8870833857 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -365,6 +365,9 @@ typedef struct {
} Context_Control;
+#define _CPU_Context_Get_SP( _context ) \
+ (_context)->r15
+
typedef struct {
#if SH_HAS_FPU
#ifdef SH4_USE_X_REGISTERS