Subject: Re: SIR Reset with todays sources
To: Martin Husemann <martin@duskware.de>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-sparc64
Date: 03/19/2007 18:07:43
As the `SIR Reset' is not solved yet I tried this:

- Replace all `sir' opcodes to `nop' in locore.s.
- Put them back until I get the `SIR Reset' instead of a hard lock.

Thus tracked it down to this `sir'.

--- locore.s	2007-02-23 02:06:38.000000000 +0100
+++ locore.s	2007-03-19 13:01:54.000000000 +0100
@@ -2099,5 +2099,5 @@ winfix:
 	!!
 	wrpr	%g2, %tl		! Restore trap level.
-	sir				! Just issue a reset and don't try to recover.
+	nop				! Just issue a reset and don't try to recover.
 	mov	%fp, %l6		! Save the frame pointer
 	set	EINTSTACK+USPACE+CC64FSZ-STKB, %fp ! Set the frame pointer to the middle of the idle stack

Is it really possible to reach this statement?

Any chance to get a trace or otherwise debug it?

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)