mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-25 22:07:15 +00:00
Patch from Chris Johns <ccj@acm.org> to change the way in which the initial
stack pointers are saved.
This commit is contained in:
@@ -57,10 +57,13 @@ SYM (start_around):
|
||||
#if ( M68K_HAS_SEPARATE_STACKS == 1 )
|
||||
movec isp,a0
|
||||
move.l a0, SYM (initial_isp)
|
||||
#endif
|
||||
move usp,a0
|
||||
movec usp,a0
|
||||
move.l a0, SYM (initial_usp)
|
||||
movec msp,a0
|
||||
move.l a0, SYM (initial_msp)
|
||||
#else
|
||||
move.l a7, SYM (initial_msp)
|
||||
#endif
|
||||
|
||||
|
|
||||
| zero out uninitialized data area
|
||||
|
||||
Reference in New Issue
Block a user