Real mode IRQ
Posted: Fri Oct 08, 2010 8:44 am
Hi all,
I am working on EHCI Driver for real-mode platform, and I need to register the controller IRQ to an ISR.
When I look at the EHCI pci configuration space, I can see that the (for example) PCI register interrupt 0x0b to EHCI, then I need to register an ISR to be called when interrupt 0x0b called,
most of the OSs present an API to accomplish this, since in OS-less environment, I need to manually register the ISR, can I accomplish that without use lidt instruction? is there any easy & simpler method to do this?
thanks!
I am working on EHCI Driver for real-mode platform, and I need to register the controller IRQ to an ISR.
When I look at the EHCI pci configuration space, I can see that the (for example) PCI register interrupt 0x0b to EHCI, then I need to register an ISR to be called when interrupt 0x0b called,
most of the OSs present an API to accomplish this, since in OS-less environment, I need to manually register the ISR, can I accomplish that without use lidt instruction? is there any easy & simpler method to do this?
thanks!