diff options
Diffstat (limited to 'cpukit/score/cpu/sparc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index c5c5aec637..e9678420af 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -336,6 +336,9 @@ typedef struct { uint32_t isr_dispatch_disable; } Context_Control; +#define _CPU_Context_Get_SP( _context ) \ + (_context)->o6_sp + #endif /* ASM */ /* |