In my driver, I need to get the address of ISR registered by i8042prt.sys(
or any keyboard device driver).

I checked through WinDbg and I found that, 0x93 index is using by keyboard
ISR.
I observed !opapic extension's output also. It is givign the following info.

lkd> !ioapic
IoApic @ FEC00000 ID:2 (20) Arb:0
Inti00.: 000100ff Vec:FF FixedDel PhysDest:00 edg high masked
Inti01.: 00000993 Vec:93 LowestDl Lg:01000000 edg high
Inti02.: 000100ff Vec:FF FixedDel PhysDest:00 edg high masked

lkd> !idt
.............................
.....................................
93: ff995dd4
(Vector:193,Irql:8,SyncIrql:9,Connected:TRUE,No:0,ShareVector:FALSE,Mode:Latched,ISR:i8042prt!I8042KeyboardInterruptService(f96684a2))
........................
.....................

How can I get that IDT index value programatically on Multiprocessor &
Uniprocessor systems?

Please help me.

Thanks in Advance,
&Raj.

Re: Keyboard IRQ & IDT Mapping by Mark

Mark
Wed Aug 10 05:49:56 CDT 2005

Raj wrote:
> In my driver, I need to get the address of ISR registered by i8042prt.sys(
> or any keyboard device driver).
>
> I checked through WinDbg and I found that, 0x93 index is using by keyboard
> ISR.
> I observed !opapic extension's output also. It is givign the following info.
>
> lkd> !ioapic
> IoApic @ FEC00000 ID:2 (20) Arb:0
> Inti00.: 000100ff Vec:FF FixedDel PhysDest:00 edg high masked
> Inti01.: 00000993 Vec:93 LowestDl Lg:01000000 edg high
> Inti02.: 000100ff Vec:FF FixedDel PhysDest:00 edg high masked
>
> lkd> !idt
> ..............................
> ......................................
> 93: ff995dd4
> (Vector:193,Irql:8,SyncIrql:9,Connected:TRUE,No:0,ShareVector:FALSE,Mode:Latched,ISR:i8042prt!I8042KeyboardInterruptService(f96684a2))
> .........................
> ......................
>
> How can I get that IDT index value programatically on Multiprocessor &
> Uniprocessor systems?
>
> Please help me.
>
> Thanks in Advance,
> &Raj.
>

Raj,

It is the same group of clowns here as over on ntdev. We are going to
give you the same answers. Good luck. Let us know what your "product" is
so we can warn others to make sure it is not on their systems.



--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com