[OpenBIOS] More work on Solaris 8 SPARC32 crash
mark.cave-ayland at siriusit.co.uk
Sun Feb 13 22:23:05 CET 2011
On 13/02/11 20:50, Blue Swirl wrote:
>> So my next question is that if OpenBIOS is supposed to handle the level 14
>> timer, what should it doing with it? And is there a relationship between the
>> level 14 timer and level 10 timer which causes one to trigger the other?
> Nice work! Maybe OBP uses it to blink the cursor or poll some devices.
> If we don't use the level 14 interrupt, it should be handled but
> ignored. About level 10 timer, maybe OpenBIOS should program it
> initially so that it won't cause interrupts.
I did find something that may be useful here:
The interrupt is cleared and the limit bits reset by reading
the appropriate limit register. Reading the counter register does not
change the state of the limit bit. Writing the limit register resets
the corresponding counter to 500nS (0x200).
So does that mean that the OpenBIOS timer handlers need to read the
limit register in order to reset the interrupt status? Then again, I'm
not convinced by this is the total solution since if I add breakpoints
on irq_entry10 and irq_entry14 then they never seem to hit in gdb anyhow.
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the OpenBIOS