Interrupt Descriptor Table (IDT)modification?

Up vote 1 down vote favorite share g+ share fb share tw.

In the flow of control in linux kernel, found that control moves to IDT which has the location of interrupts(ex: 0x80 system call). And then control moves to the appropriate System call. Also read that IDT is initialized at boot time only.

I would like to know more about the IDT information from a real kernel, like its location. Also like to know, wthether at any other time its being modified? Please help.

Linux linux-kernel interrupt system-calls interrupt-handling link|improve this question asked Jan 11 '11 at 5:06user567879274112 98% accept rate.

Anyways, you can use the LIDT/SIDT x86 instructions to directly find and manipulate the IDT. You can also find some information about IDT hooking on some good phrack articles about exactly this subject.

In Linux, the declarations for IRQ-handling functions can be found in include/linux/interrupt.h. Generic handling code can be found in kernel/irq/, and platform specific code under the arch/ directories - take a look at eg, arch/x86/kernel/irq. C and the other irq*.

C files in that directory. You should read the comments in the kernel/irc/*. C files to understand locking rules and mechanisms regarding IRQs in Linux.

Note that other OSes can and will have different locking rules. Good luck!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions