[RTEMS Project] #2651: Corruption of register %o5 in window underflow trap handler

RTEMS trac trac at rtems.org
Thu Mar 24 06:41:18 UTC 2016


#2651: Corruption of register %o5 in window underflow trap handler
-----------------------------+---------------------
 Reporter:  sebastian.huber  |       Owner:  daniel
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.11
Component:  cpukit           |     Version:  4.11
 Severity:  critical         |  Resolution:  fixed
 Keywords:                   |
-----------------------------+---------------------
Changes (by Daniel Hellstrom <daniel@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33de2037f6007f6adf90514dbc98158a473476fc/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="33de2037f6007f6adf90514dbc98158a473476fc"
 sparc: Fix window underflow trap handler

 The window underflow trap handler used %i5 which destroyed the %o5 of
 the calling context.  Bug introduced by
 0d3b5d47429effb350448d9e9123a67db722109f.

 Go back to the pre 0d3b5d47429effb350448d9e9123a67db722109f behaviour
 and use the two unused instructions in the trap vector to optimize a
 bit.

 Close #2651.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2651#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list