summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/c4x/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/c4x/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h
index 6809c1d14e..612d6c5668 100644
--- a/cpukit/score/cpu/c4x/rtems/score/cpu.h
+++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h
@@ -474,6 +474,9 @@ typedef struct {
unsigned int sp;
} Context_Control;
+#define _CPU_Context_Get_SP( _context ) \
+ (_context)->sp
+
typedef struct {
} Context_Control_fp;