PIC question. (fwd)

ollie lho ollie at sis.com.tw
Wed Oct 23 20:51:01 CEST 2002


On Wed, 2002-10-23 at 21:59, adam at www.missl.cs.umd.edu wrote:
> 
> 
> [PS: Can I somehow tell mailman to accept my email from multiple
> addresses?]
> 
> hello
> 	I'm trying to set "bios classic/dos" like state
> 	on the winfast 6300max/sis630 motherboard.
> 
> 	one of the issues I'm having is that it seems that
> 	interrupt 9 (keyboard)  is not beging tiggered.
> 	(this is after linuxbios finish booting and I
> 	start bochs bios).
> 
> 	Initially I have suspected that the PIC in the sis630
> 	is not getting programmed.
> 
> 	However, going over boch's bios sources I found out that it
> 	does DO program PIC..so it is not the issue here.
> 	(relevant code at end of email).
> 
> 	Thus the question is :
> 
> What is the extra step I'm missing that has to be run after
> linuxbios finish but before attempting to program PIC for
> bios/dos style interrupt mapping?
> 

I don't quite understand your question, but LinuxBIOS does program
the PIC to map IRQ 0-15 to INT 0x20-0x30. So the keyboard interrupt
(IRQ 1) is routed to INT0x21. This is how Linux does for its interrupt
handling.

Ollie




More information about the coreboot mailing list