Page 1 of 1

Hardware interrupts not working (only software) ???

Posted: Sun Mar 21, 2004 12:00 am
by wazerface
Hi,

Ive been working on adding interrupt support to an OS, and have been able to succesfully receive software interrupts (asm("int x")) but when I generate hardware interrupts (by sending a byte to a PCI network card that should generate a hardware interrupt) that handler does not get called.  

Is there anything obvious i might be missing (needed for hardware interrupts)?

Thanks,

Martin

RE:Hardware interrupts not working (only software) ???

Posted: Sun Mar 21, 2004 12:00 am
by common
Did you inform the PIC about this?

RE:Hardware interrupts not working (only software) ???

Posted: Mon Mar 22, 2004 12:00 am
by Gandalf
hi,

Have u set the IF flag in EFLAGS. U could do this by using STI.


rgds
Gandalf