Page 1 of 1

Interrupt

Posted: Thu Jul 19, 2001 11:00 pm
by RamboII
This is about hooking itnerrupt in kernel code:
when should i set up my IDT ? after the bootstrap,
dont' I? but how can i point the entries in my
kernel code?
please help me.
RamboII

RE:Interrupt

Posted: Fri Jul 20, 2001 11:00 pm
by Chris Giese
>On 2001-07-20 18:00:14, RamboII wrote:
>This is about hooking itnerrupt in kernel code:
>when should i set up my IDT ? after the bootstrap,
>dont' I? but how can i point the entries in my
>kernel code?
>please help me.

Hi,
You can make all the interrupts go through one
handler. Here is some sample code:
http://www.execpc.com/~geezer/osd/intr/ ... m#snippets

If you get x86-32.zip, you can see how the IDT
is set up in file startup.asm, and how the
interrupts get passed to the C code in file krnl.c

RE:Interrupt

Posted: Fri Sep 07, 2001 11:00 pm
by Guest
>On 2001-07-20 18:00:14, RamboII wrote:
>This is about hooking itnerrupt in kernel code:
>when should i set up my IDT ? after the bootstrap,
>dont' I? but how can i point the entries in my
>kernel code?
>please help me.
>RamboII