Search found 2 matches
- Wed Jun 30, 2010 5:24 am
- Forum: Chinese
- Topic: windows中中断向量设置问题?
- Replies: 1
- Views: 24862
Re: windows中中断向量设置问题?
我是这样理解的: 因为: .macro idt Handler bit .long \Handler ;32bit .short \bit ;16bit .short KGDT_R0_CODE ;16bit .endm 从宏定义中可以看出_kitTap0占32bit,与下面的数据结构应是这样对应: typedef struct _KIDTENTRY { USHORT Offset, →→→→ ↘ USHORT Selector, ↘ →_kitTap0的地址 USHORT Access, ↗ USHORT ExtendOffset →→→ ↗ }KIDTENTRY,*KIDTENTRY; 所以...
- Tue Jun 22, 2010 2:37 pm
- Forum: Chinese
- Topic: windows中中断向量设置问题?
- Replies: 1
- Views: 24862
windows中中断向量设置问题?
刚开始看windows内核情景分析,对中断向量表的处理只一块很迷惑. 文中这样描述: I have just started to look at and analyse the Windows kernel, and am very confused with how interrupts are treated. As follows: windows中中断向量的设置为: in windows, the interrupt vector is set to: _kildt idt _kiTrap0 ,INT_32_DPL0 idt _kitTap1,INT_32_DPL0 ...........