Changeset 67baf60 in rtems for c/src/lib/libcpu/sparc64/shared


Ignore:
Timestamp:
Mar 14, 2012, 5:06:13 PM (9 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 5, master
Children:
80d01b3c
Parents:
4868c771
Message:

PR2041: sparc64: vector number not included in CPU_Interrupt_frame

Add the trap vector to the interrupt frame. Also rename the assembly
macro that accesses the field to be consistent with similar macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sparc64/shared/score/interrupt.S

    r4868c771 r67baf60  
    119119    stx   %g4, [%sp + STACK_BIAS + ISF_TPC_OFFSET]
    120120    stx   %g5, [%sp + STACK_BIAS + ISF_TNPC_OFFSET]
    121     stx   %g2, [%sp + STACK_BIAS + ISF_TVEC_NUM]
     121    stx   %g2, [%sp + STACK_BIAS + ISF_TVEC_OFFSET]
    122122
    123123    rd  %y, %g4        ! save y
     
    523523  ldx   [%sp + STACK_BIAS + ISF_TNPC_OFFSET], %g5
    524524  ldx   [%sp + STACK_BIAS + ISF_TSTATE_OFFSET], %g1
    525   ldx   [%sp + STACK_BIAS + ISF_TVEC_NUM], %g2
     525  ldx   [%sp + STACK_BIAS + ISF_TVEC_OFFSET], %g2
    526526  wrpr  %g0, %g3, %pil
    527527  wrpr  %g0, %g4, %tpc
Note: See TracChangeset for help on using the changeset viewer.