forked from Imagelibrary/rtems
2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>
PR 1278/cpukit * cpu.c: Fix incorrect bit manipulation on returning old address of raw trap handler.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>
|
||||||
|
|
||||||
|
PR 1278/cpukit
|
||||||
|
* cpu.c: Fix incorrect bit manipulation on returning old address of raw
|
||||||
|
trap handler.
|
||||||
|
|
||||||
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1237/rtems
|
PR 1237/rtems
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ void _CPU_ISR_install_raw_handler(
|
|||||||
|
|
||||||
if ( slot->mov_psr_l0 == _CPU_Trap_slot_template.mov_psr_l0 ) {
|
if ( slot->mov_psr_l0 == _CPU_Trap_slot_template.mov_psr_l0 ) {
|
||||||
u32_handler =
|
u32_handler =
|
||||||
((slot->sethi_of_handler_to_l4 & HIGH_BITS_MASK) << HIGH_BITS_SHIFT) |
|
(slot->sethi_of_handler_to_l4 << HIGH_BITS_SHIFT) |
|
||||||
(slot->jmp_to_low_of_handler_plus_l4 & LOW_BITS_MASK);
|
(slot->jmp_to_low_of_handler_plus_l4 & LOW_BITS_MASK);
|
||||||
*old_handler = (proc_ptr) u32_handler;
|
*old_handler = (proc_ptr) u32_handler;
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user