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

RTEMS trac trac at rtems.org
Thu Mar 17 10:12:44 UTC 2016


#2651: Corruption of register %o5 in window underflow trap handler
-----------------------------+---------------------
 Reporter:  sebastian.huber  |       Owner:  daniel
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.11
Component:  cpukit           |     Version:  4.11
 Severity:  critical         |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by Daniel Hellstrom <daniel@…>):

 In [changeset:"6c4aaf4f3167a9ca2eb2b1ae9b87381a03cb8aa1/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="6c4aaf4f3167a9ca2eb2b1ae9b87381a03cb8aa1"
 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.

 Update #2651.
 }}}

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


More information about the bugs mailing list