0: kd> !idt //查看中断向量表内容
0: kd> dt nt!_KINTERRUPT 89c03bb0 //查看对应中断向量的详细内容
0: kd> !ioapic //显示I/O APIC(即连接至设备的中断控制部件)
0: kd> !pic //
0: kd> !apic //有关PIC的配置情况
写在这里以后查看用~
1.0: kd> !idt运行后显示为
0: kd> !idt
Dumping IDT:
37: 806e7864 hal!PicSpuriousService37
3d: 806e8e2c hal!HalpApcInterrupt
41: 806e8c88 hal!HalpDispatchInterrupt
50: 806e793c hal!HalpApicRebootService
63: 89ac57e4 USBPORT!USBPORT_InterruptService (KINTERRUPT 89ac57a8)
USBPORT!USBPORT_InterruptService (KINTERRUPT 8982abb0)
73: 89d6767c atapi!IdePortInterrupt (KINTERRUPT 89d67640)
atapi!IdePortInterrupt (KINTERRUPT 89dc4bb0)
83: 89c1471c VIDEOPRT!pVideoPortInterrupt (KINTERRUPT 89c146e0)
HDAudBus!AzController::Isr (KINTERRUPT 89c16ac8)
NDIS!ndisMIsr (KINTERRUPT 89847bb0)
94: 8976fbec USBPORT!USBPORT_InterruptService (KINTERRUPT 8976fbb0)
a4: 89770bec USBPORT!USBPORT_InterruptService (KINTERRUPT 89770bb0)
b1: 89d859e4 ACPI!ACPIInterruptServiceRoutine (KINTERRUPT 89d859a8)
b4: 89c03bec USBPORT!USBPORT_InterruptService (KINTERRUPT 89c03bb0)
c1: 806e7ac0 hal!HalpBroadcastCallService
d1: 806e6e54 hal!HalpClockInterrupt
e1: 806e8048 hal!HalpIpiHandler
e3: 806e7dac hal!HalpLocalApicErrorService
fd: 806e85a8 hal!HalpProfileInterrupt
fe: 806e8748 hal!HalpPerfInterrupt
//前部分是使用的中断类型号。例如83号中断是有三个硬件复用。
2.0: kd> dt nt!_KINTERRUPT 89c03bb0,运行后显示为
0: kd> dt nt!_KINTERRUPT 89c03bb0
+0x000 Type : 0n22
+0x002 Size : 0n484
+0x004 InterruptListEntry : _LIST_ENTRY [ 0x89c03bb4 - 0x89c03bb4 ]
+0x00c ServiceRoutine : 0xb9159e54 unsigned char USBPORT!USBPORT_InterruptService+0
+0x010 ServiceContext : 0x89c38028 Void
+0x014 SpinLock : 0
+0x018 TickCount : 0xffffffff
+0x01c ActualLock : 0x89c03e14 -> 0
+0x020 DispatchAddress : 0x805466d0 void nt!KiInterruptDispatch+0
+0x024 Vector : 0x1b4
+0x028 Irql : 0xa ''
+0x029 SynchronizeIrql : 0xa ''
+0x02a FloatingSave : 0 ''
+0x02b Connected : 0x1 ''
+0x02c Number : 0 ''
+0x02d ShareVector : 0x1 ''
+0x030 Mode : 0 ( LevelSensitive )
+0x034 ServiceCount : 0
+0x038 DispatchCount : 0xffffffff
+0x03c DispatchCode : [106] 0x56535554
3.0: kd> !ioapic,运行后显示
0: kd> !ioapic
IoApic @ FEC00000 ID:8 (20) Arb:170020
Inti00.: 52000000`000100ff Vec:FF FixedDel Ph:52000000 edg high m
Inti01.: 00c00000`000100ff Vec:FF FixedDel Ph:00C00000 edg high m
Inti02.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti03.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti04.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti05.: 52c00000`000100ff Vec:FF FixedDel Ph:52C00000 edg high m
Inti06.: 00c00000`000100ff Vec:FF FixedDel Ph:00C00000 edg high m
Inti07.: 02000000`000100ff Vec:FF FixedDel Ph:02000000 edg high m
Inti08.: 01000000`000008d1 Vec:D1 FixedDel Lg:01000000 edg high
Inti09.: 03000000`0000d9b1 Vec:B1 LowestDl Lg:03000000-Pend lvl high rirr
Inti0A.: 00c00000`000100ff Vec:FF FixedDel Ph:00C00000 edg high m
Inti0B.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti0C.: 42000000`000100ff Vec:FF FixedDel Ph:42000000 edg high m
Inti0D.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti0E.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti0F.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti10.: 03000000`0000f983 Vec:83 LowestDl Lg:03000000-Pend lvl low rirr
Inti11.: 00000000`000100ff Vec:FF FixedDel Ph:00000000 edg high m
Inti12.: 03000000`0000a994 Vec:94 LowestDl Lg:03000000 lvl low
Inti13.: 00c00000`000100ff Vec:FF FixedDel Ph:00C00000 edg high m
Inti14.: 03000000`0000a973 Vec:73 LowestDl Lg:03000000 lvl low
Inti15.: 03000000`0000a963 Vec:63 LowestDl Lg:03000000 lvl low
Inti16.: 03000000`0000a9a4 Vec:A4 LowestDl Lg:03000000 lvl low
Inti17.: 03000000`0000f9b4 Vec:B4 LowestDl Lg:03000000-Pend lvl low rirr
4.0: kd> !pic ,运行后显示
0: kd> !pic
----- IRQ Number ----- 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Physically in service: . . . . . . . . . . . . . . . .
Physically masked: Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
Physically requested: Y . . Y . Y . . Y Y Y Y . . . .
5.0: kd> !apic,运行后显示
0: kd> !apic
Apic @ fffe0000 ID:0 (50014) LogDesc:01000000 DestFmt:ffffffff TPR FF
TimeCnt: 0fdad680clk SpurVec:1f FaultVec:e3 error:40
Ipi Cmd: 02000000`000008e1 Vec:E1 FixedDel Lg:02000000 edg high
Timer..: 00000000`000300fd Vec:FD FixedDel Dest=Self edg high m
Linti0.: 00000000`0001001f Vec:1F FixedDel Dest=Self edg high m
Linti1.: 00000000`000084ff Vec:FF NMI Dest=Self lvl high
TMR: 63, 73, 83, 94, A4, B1, B4
IRR: 41, B1, D1
ISR: D1