Changeset 487a7ca in rtems


Ignore:
Timestamp:
03/21/96 20:20:27 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8cf88427
Parents:
99e7cbbb
Message:

some instructions altered for older binutils

Location:
c/src/lib/libbsp/m68k/gen68360
Files:
2 edited

Legend:

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

    r99e7cbbb r487a7ca  
    296296uhoh:   nop                             | Leave spot for breakpoint
    297297        stop    #0x2700                 | Stop with interrupts disabled
    298         bra.b   uhoh                    | Stuck forever
     298        bra.s   uhoh                    | Stuck forever
    299299
    300300/*
     
    318318         */
    319319        lea     Entry,a0                | Get base of vector table
    320         movec   a0,VBR                  | Set up the VBR
     320        movec   a0,vbr                  | Set up the VBR
    321321
    322322        /*
    323323         * Step 4: Write the MBAR
    324324         */
    325         movec   DFC,d1                  | Save destination register
     325        movec   dfc,d1                  | Save destination register
    326326        moveq   #7,d0                   | CPU-space funcction code
    327         movec   d0,DFC                  | Set destination function code register
     327        movec   d0,dfc                  | Set destination function code register
    328328        movel   #SYM(m360)+0x101,d0     | MBAR value (mask CPU space accesses)
    329329        movesl  d0,0x3FF00              | Set MBAR
    330         movec   d1,DFC                  | Restore destination register
     330        movec   d1,dfc                  | Restore destination register
    331331
    332332        /*
     
    360360        movel   #clear_end,a1
    361361        clrl    d0
    362         brab    ZEROLOOPTEST
     362        bras ZEROLOOPTEST
    363363ZEROLOOP:
    364364        movel   d0,a0@+
    365365ZEROLOOPTEST:
    366366        cmpl    a1,a0
    367         bcsb    ZEROLOOP
     367        bcs     ZEROLOOP
    368368        movel   #stack_init,a7          | set master stack pointer
    369369        movel   d0,a7@-                 | environp
     
    375375mainDone:       nop                     | Leave spot for breakpoint
    376376        stop    #0x2700                 | Stop with interrupts disabled
    377         bra.b   mainDone                | Stuck forever
     377        bra.s   mainDone                | Stuck forever
    378378
    379379        .align 2
  • c/src/lib/libbsp/m68k/gen68360/start360/start360.s

    r99e7cbbb r487a7ca  
    296296uhoh:   nop                             | Leave spot for breakpoint
    297297        stop    #0x2700                 | Stop with interrupts disabled
    298         bra.b   uhoh                    | Stuck forever
     298        bra.s   uhoh                    | Stuck forever
    299299
    300300/*
     
    318318         */
    319319        lea     Entry,a0                | Get base of vector table
    320         movec   a0,VBR                  | Set up the VBR
     320        movec   a0,vbr                  | Set up the VBR
    321321
    322322        /*
    323323         * Step 4: Write the MBAR
    324324         */
    325         movec   DFC,d1                  | Save destination register
     325        movec   dfc,d1                  | Save destination register
    326326        moveq   #7,d0                   | CPU-space funcction code
    327         movec   d0,DFC                  | Set destination function code register
     327        movec   d0,dfc                  | Set destination function code register
    328328        movel   #SYM(m360)+0x101,d0     | MBAR value (mask CPU space accesses)
    329329        movesl  d0,0x3FF00              | Set MBAR
    330         movec   d1,DFC                  | Restore destination register
     330        movec   d1,dfc                  | Restore destination register
    331331
    332332        /*
     
    360360        movel   #clear_end,a1
    361361        clrl    d0
    362         brab    ZEROLOOPTEST
     362        bras ZEROLOOPTEST
    363363ZEROLOOP:
    364364        movel   d0,a0@+
    365365ZEROLOOPTEST:
    366366        cmpl    a1,a0
    367         bcsb    ZEROLOOP
     367        bcs     ZEROLOOP
    368368        movel   #stack_init,a7          | set master stack pointer
    369369        movel   d0,a7@-                 | environp
     
    375375mainDone:       nop                     | Leave spot for breakpoint
    376376        stop    #0x2700                 | Stop with interrupts disabled
    377         bra.b   mainDone                | Stuck forever
     377        bra.s   mainDone                | Stuck forever
    378378
    379379        .align 2
Note: See TracChangeset for help on using the changeset viewer.