Hardware interrupts not working (only software) ???

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
wazerface

Hardware interrupts not working (only software) ???

Post 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
common

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

Post by common »

Did you inform the PIC about this?
Gandalf

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

Post by Gandalf »

hi,

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


rgds
Gandalf
Post Reply