On 8/22/09 3:54 PM, Kevin O'Connor wrote:
On Fri, Aug 21, 2009 at 09:14:38AM +0200, Stefan Reinauer wrote:
Hm.. Last thing I heard is that most boot loaders don't call intXX functions but read int 0x60/0x64.
I just double checked - freedos, ntldr, winxp install, lilo, grub, and isolinux all read keys via the bios.
Oh this is great news. I think your list is extensive enough to decide against a legacy emulation in SMM, given the trouble it would bring (Alternatively we could add an interface to SMM that usbrom could hook into, but that sounds like a big security issue on the second thought)
I don't have definite numbers on that, though. I suppose if a normal driver would work, we could hook up another int in Jason's usbrom and we're good?
I think hardware irq support is needed for keyboard.
What's required for this? Just set up an IRQ for the USB device and add a 16bit intXX handler?
Stefan