Interrupts/PIC
Interrupts/PIC
Ive started to write a IDT and differens ISR:s but I got some questions and I didnt find a satisfying answer in all the docs I?ve been reading.. I know that you load the IDT, which?s telling which ISR:s to run when an interrupts occurs.. but what is the PIC and IRQs and what?s it for? Also, do I handle exceptions the same way as interrupts?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Interrupts/PIC
i guess http://www.osdev.org/osfaq2/index.php/HardWareIrq should answer most of your questions.
Very basically, IRQs are signals sent from hardware outside to the CPU ... The PIC is a chip that collect those signals, decide which priorities they have against each other and notifies the CPU of the most-prioritized one and then wait until the cpu acknowledge.
Very basically, IRQs are signals sent from hardware outside to the CPU ... The PIC is a chip that collect those signals, decide which priorities they have against each other and notifies the CPU of the most-prioritized one and then wait until the cpu acknowledge.