IDT

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
Tom Fritz

IDT

Post by Tom Fritz »

I know I've posted this on other boards(not much help there)

But I need to know if I should remap the IRQs and load an IDT, and make my own interrupt handler then use sti to enable harware interrupts?

Thank you,
Tom www.sourceforge.net/projects/fritzos
carbonBased

RE:IDT

Post by carbonBased »

You're definitly going to want to remap the hardware IRQs to above 32d.  You don't really _have_ to, but it makes things _a lot_ easier.  Essentially, it's because the hardware exceptions also occupy ints 0-32d, which makes things complicated (did int 4 come from a serial port, or is it a stack fault exception?, for example)

And yes, you're going to have to make your own interrupt handlers _AND_ use sti to enable interrupts... the two are NOT mutually exclusive.

Jeff
Post Reply