summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 0c3da70d18..3b6eff176a 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -354,6 +354,9 @@ typedef struct {
uint32_t register_pc;
} Context_Control;
+#define _CPU_Context_Get_SP( _context ) \
+ (_context)->register_sp
+
typedef struct {
double some_float_register;
} Context_Control_fp;