Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the IVT/IDT?

idt ivt
0
Posted

What is the IVT/IDT?

0

IVT stands for Interrupt Vector Table, and IDT stands for Interrupt Descriptor Table. The IVT is used in real-mode and the IDT is used in protected-mode. As the only time you should ever touch the IDT is if you are writing an OS from scratch, it won’t be discussed here. However, it’s the same idea conceptually. The IVT is located at address 0000:0000 in real-mode (note: it can be moved starting with the 80386, but that’s rare). The IVT is the mapping of interrupt numbers to interrupt handlers. In effect and actuality, it’s simply a jump table. Each four bytes corresponds to the address of a function.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.