Content deleted Content added
Bigjust12345 (talk | contribs) m removed the wrong link, sorry |
comma |
||
(40 intermediate revisions by 32 users not shown) | |||
Line 1:
{{short description|Data structure}}
{{about|the general concept|its implementation found in x86 processors|Interrupt descriptor table}}
[[File:X86 Interrupt Vector Table.svg|thumb]]
An '''interrupt vector table''' ('''IVT''') is a [[data structure]] that associates a list of [[interrupt handler]]s with a list of [[interrupt request]]s in a table of interrupt vectors.
==Background==
Most processors have an interrupt vector table, including chips from [[Intel]], [[AMD]], [[Infineon Technologies|Infineon]], Microchip<ref>[http://ww1.microchip.com/downloads/en/DeviceDoc/70189c.pdf "dsPIC33F Family Reference Manual"] section 29.1.1 Interrupt Vector Table
</ref> [[AVR microcontrollers|Atmel]],<ref>[http://www.nongnu.org/avr-libc/user-manual/group__avr__interrupts.html "AVR Libc User Manual"] section: Introduction to avr-libc's interrupt handling</ref>
==Interrupt handlers==
Line 18 ⟶ 19:
===="Predefined"====
The "predefined" method loads the [[program counter]] (PC) directly with the address of some entry inside the interrupt vector table. The [[jump table]] itself contains executable code. While in principle an extremely short interrupt handler could be stored entirely inside the interrupt vector table, in practice the code at each
===="Fetch"====
Line 26 ⟶ 27:
===="Interrupt acknowledge"====
When the CPU is affected by an [[interrupt]], it looks up the [[interrupt handler]] in the interrupt vector table, and transfers control to it.
Line 32 ⟶ 33:
== See also ==
* [[Interrupt
== References ==
Line 38 ⟶ 39:
== External links ==
*[http://developer.intel.com/design/pentium/manuals/ Intel® Architecture Software Developer's Manual, Volume 3: System Programming Guide] {{Webarchive|url=https://web.archive.org/web/20090216132436/http://developer.intel.com/design/pentium/manuals/ |date=2009-02-16 }}
** [https://web.archive.org/web/20081221050950/http://download.intel.com/design/processor/manuals/253668.pdf Intel
*
[[Category:Interrupts]]
|