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
Interrupt
RE:Interrupt
>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
>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
>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
>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