interrupt hooking in linux
hello,
does anyone know how interrupt hooking in linux is done? i am trying to write a module which alters the interrupt descriptor table (idt) and sets the entries to point to my own interrupt handlers. can anybody help me with this? i don't even know where to start. what files in the source have code that deals with assignment to the idt? thanks in advance, zvi |
"what files in the source have code that deals with assignment to the idt?"
I found a structure which describes the idt. I am not sure whether this particular structure allocates the idt or just maps the idt as allocated by another routine. In file /usr/src/kernel/arch/i386/kernel/traps.c the idt is mapped or allocated by: struct desc_struct idt_table[256]. ---------------------------------------------- Steve Stites |
All times are GMT -5. The time now is 08:21 AM. |