Changeset 35305b59 in rtems


Ignore:
Timestamp:
Feb 20, 2008, 9:54:13 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
734e0536
Parents:
174eea53
Message:

2008-02-20 Alexandru Bugnar <a-bugnar@…>

PR 1278/cpukit

  • cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
Location:
cpukit/score/cpu/sparc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/ChangeLog

    r174eea53 r35305b59  
     12008-02-20      Alexandru Bugnar <a-bugnar@criticalsoftware.com>
     2
     3        PR 1278/cpukit
     4        * cpu.c: Fix incorrect bit manipulation on returning old address of raw
     5        trap handler.
     6
    172007-05-10      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/sparc/cpu.c

    r174eea53 r35305b59  
    177177  if ( slot->mov_psr_l0 == _CPU_Trap_slot_template.mov_psr_l0 ) {
    178178    u32_handler =
    179       ((slot->sethi_of_handler_to_l4 & HIGH_BITS_MASK) << HIGH_BITS_SHIFT) |
     179      (slot->sethi_of_handler_to_l4 << HIGH_BITS_SHIFT) |
    180180      (slot->jmp_to_low_of_handler_plus_l4 & LOW_BITS_MASK);
    181181    *old_handler = (proc_ptr) u32_handler;
Note: See TracChangeset for help on using the changeset viewer.