#2472: Wrong value in PSR register after task switch on SPARC
-----------------------------+------------------
 Reporter:  daniel.cederman  |      Owner:
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  4.11
Component:  SMP              |    Version:  4.11
 Severity:  critical         |   Keywords:
-----------------------------+------------------
 The task switching code does not update the PSR if the heir changes during
 the switch (which happens if the original heir gets scheduled on another
 CPU). This can only happen with the SMP version of the code.

 This can cause the FPU to be disabled and cause instructions that depends
 on condition codes to behave wrongly.

 It can be solved by updating the PSR after the heir task has been
 acquired, instead of before.

--
Ticket URL: <http://devel.rtems.org/ticket/2472>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to