diff options
Diffstat (limited to 'cpukit/score/cpu/m68k')
-rw-r--r-- | cpukit/score/cpu/m68k/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/m68k/rtems/score/cpu.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog index dedb81c22c..b7dd621aec 100644 --- a/cpukit/score/cpu/m68k/ChangeLog +++ b/cpukit/score/cpu/m68k/ChangeLog @@ -1,3 +1,7 @@ +2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> + + * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. + 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com> * rtems/m68k/m68302.h, rtems/m68k/m68360.h: Sweep to make sure grep for diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h index 57652ca3e0..1d55b8bb68 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h @@ -122,6 +122,9 @@ typedef struct { void *a7_msp; /* (a7) master stack pointer */ } Context_Control; +#define _CPU_Context_Get_SP( _context ) \ + (_context)->a7_msp + /* * Floating point context ares */ |