Changeset f077f332 in rtems


Ignore:
Timestamp:
Apr 24, 2001, 8:49:11 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
126405d9
Parents:
6de4727f
Message:

2000-04-23 Jiri Gaisler <jiri@…>

  • start.S: Modificatins to preserve the current CWP and adjust the WIM accordingly. This improves compatibility with the remote debugger and the mkprom prom-builder.
Location:
c/src/lib/libbsp/sparc/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/ChangeLog

    r6de4727f rf077f332  
     12000-04-23      Jiri Gaisler <jiri@gaisler.com>
     2
     3        * start.S: Modificatins to preserve the current CWP and adjust the
     4        WIM accordingly. This improves compatibility with the remote
     5        debugger and the mkprom prom-builder.
     6
    172000-11-13      Jiri Gaisler <jgais@ws.estec.esa.nl>
    28
  • c/src/lib/libbsp/sparc/shared/start.S

    r6de4727f rf077f332  
    200200/* Common initialisation */
    201201
    202         set     SYM(trap_table), %g1           ! Initialize TBR
     202        set     SYM(trap_table), %g1    ! Initialize TBR
    203203        mov     %g1, %tbr
    204204
    205         set     WIM_INIT, %g1           ! Initialize WIM
    206         mov     %g1, %wim               
    207 
    208         set     PSR_INIT, %g1
    209         wr      %g1, 0x20, %psr         ! enable traps
     205        mov     %psr, %g1               ! Initialize WIM
     206        add     %g1, 1, %g2
     207        and     %g2, 0x7, %g2
     208        set     1, %g3
     209        sll     %g3, %g2, %g3
     210        mov     %g3, %wim               
     211
     212        or      %g1, 0x20, %g1
     213        wr      %g1, %psr         ! enable traps
    210214
    211215        nop
Note: See TracChangeset for help on using the changeset viewer.