Ignore:
Timestamp:
Apr 16, 1997, 5:45:35 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f9f375e
Parents:
34217ccf
Message:

Update from Eric Norum.

File:
1 edited

Legend:

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

    r34217ccf rf8f370b6  
    1 /*  entry.s
     1/*
    22 *
    33 *  This file contains the entry point for the application.
     
    312312        .long   ETHERNET_ADDRESS        | Low-order 3 octets of ethernet address
    313313
     314        .global start
    314315/*
    315316 * Initial PC
    316317 */
    317          .global start
    318318start: 
    319319        /*
    320320         * Step 2: Stay in Supervisor Mode
    321          * (i.e. just do nothing for this step)
    322          */
     321         */
     322#if ( M68K_HAS_SEPARATE_STACKS == 1 )
     323        oriw    #0x3000,sr              | Switch to Master Stack Pointer
     324        lea     SYM(m360)+1024-64,a7    | Load stack pointer with space
     325                                        |   for the Interrupt Stack
     326#endif
    323327
    324328        /*
Note: See TracChangeset for help on using the changeset viewer.