Changeset 35305b59 in rtems for cpukit/score/cpu/sparc/cpu.c


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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.