Ignore:
Timestamp:
11/16/10 23:19:58 (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
722c0fd
Parents:
db5f134
Message:

2010-11-15 Gedare Bloom <giddyup44@…>

PR 1691/bsps

  • usiii/start/bspinit.S: Create a dummy trap table that jumps to the firmware trap table for default trap handlers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc64/usiii/start/bspinit.S

    rdb5f134 r982b484  
    3636  save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
    3737
    38   /* copy firmware trap table so that RTEMS can install ISR handlers */
    39   setx  SYM(trap_table), %l0, %o0
    40   rdpr  %tba, %o1
    41   set TABLE_SIZE, %o2
    42   call memcpy
    43   nop
     38  ! copy the tba
     39  sethi %hi(real_trap_table), %o0
     40  rdpr  %tba, %o2
     41  stx   %o2, [%o0 + %lo(real_trap_table)]
     42
     43!  /* copy firmware trap table so that RTEMS can install ISR handlers */
     44!  setx  SYM(trap_table), %l0, %o0
     45!  rdpr  %tba, %o1
     46!  set TABLE_SIZE, %o2
     47!  call memcpy
     48!  nop
    4449
    4550  mov %g0, %o0
Note: See TracChangeset for help on using the changeset viewer.