interrupt hooking in kernel 2.6

2005-07-14 Thread Zvi Rackover
hello all, i wish to write a module for i386 that can hook interrupts. the module loads its own interrupt descriptor table instead of the default system's table. after executing my own handler(s), the old appropriate handler will be called. i could not find any documentation or sample code explain

looking for GDT, LDT & IDT management code

2005-07-06 Thread Zvi Rackover
hello all, where can i find the code that initializes and the code that manages the following: a) Global Descriptor Table (GDT) b) Local Descriptor Table (LDT) c) Interrupt Descriptor Table (IDT) ? if anyone know of any good documentation/tutorial i would appriciate if you mentioned it/them.

Re: Module that loads new Interrupt Descriptor Table

2005-04-20 Thread Zvi Rackover
On 4/20/05, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Wed, 2005-04-20 at 11:58 +0300, Zvi Rackover wrote: > > Hello all, > > > > I would like to write a program that monitors various system > > parameters in real time. One of these is counting the number o

Module that loads new Interrupt Descriptor Table

2005-04-20 Thread Zvi Rackover
Hello all, I would like to write a program that monitors various system parameters in real time. One of these is counting the number of interrupts. I would like to implement my own interrupt handler so that each handler counts the number of interrupt of its respective type. I have read various