Changeset 92fc5a5 in rtems


Ignore:
Timestamp:
Jul 21, 1998, 1:59:12 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c91e032
Parents:
bced36d
Message:

Fix from Chris Johns <ccj@…>. Comments:

Mask interrupts and save the current USP and MSP for all 68000 processor
variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/start/m68k/start.s

    rbced36d r92fc5a5  
    5252SYM (start_around):
    5353        move.w  sr, SYM (initial_sr)
     54        oriw    #0x3700,sr             | SUPV MODE,INTS OFF!!!
    5455#if ( M68K_HAS_SEPARATE_STACKS == 1 )
    5556        movec   isp,a0
    5657        move.l  a0, SYM (initial_isp)
    57         movec   usp,a0
     58#endif
     59        move    usp,a0
    5860        move.l  a0, SYM (initial_usp)
    59         movec   msp,a0
    60         move.l  a0, SYM (initial_msp)
    61 #else
    6261        move.l  a7, SYM (initial_msp)
    63 #endif
    64         oriw    #0x0700,sr             | INTERRUPTS OFF!!!
    65 
    66 
    6762
    6863        |
Note: See TracChangeset for help on using the changeset viewer.