diff options
Diffstat (limited to 'cpukit/score/cpu/i386/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index 616d1dfb58..812b2f569b 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -107,6 +107,9 @@ typedef struct { uint32_t edi; /* extended destination index flags register */ } Context_Control; +#define _CPU_Context_Get_SP( _context ) \ + (_context)->esp + /* * FP context save area for the i387 numeric coprocessors. */ |