首页 | 本学科首页   官方微博 | 高级检索  
     

Windows下的硬件中断处理
引用本文:李永军,胡昌林,赵广宁. Windows下的硬件中断处理[J]. 兵工自动化, 2006, 25(1): 83-84
作者姓名:李永军  胡昌林  赵广宁
作者单位:军械工程学院,导弹工程系,河北,石家庄,050003;271834部队,73分部,河北,石家庄,050003
摘    要:Windows下的硬件中断首先从Vhard-wareInt类中派生出一个类,定义构造函数并重载各个信号处理程序.调用类VhardwareInt的构造函数,指定IRQ.再在VxD初始化时,用new动态创建其派生类对象实例,对重载的中断通知处理程序编程.最后调用钩挂函数(hook)中断处理程序.成功钩挂后,还可调用Physical Unmark成员函数,确保允许中断处理.

关 键 词:硬件中断  中断处理  构造函数  派生类
文章编号:1006-1576(2006)01-0083-02
收稿时间:2005-07-16
修稿时间:2005-09-07

Hardware Interrupt Process in Windows
LI Yong-jun,HU Chang-lin,ZHAO Guang-ning. Hardware Interrupt Process in Windows[J]. Ordnance Industry Automation, 2006, 25(1): 83-84
Authors:LI Yong-jun  HU Chang-lin  ZHAO Guang-ning
Affiliation:1. Dept. of Missile Engineering, Ordnance Engineering College, Shijiazhuang 050003, China; 2. No.73 Department, No. 271834 Army of PLA, Shijiazhuang 050003, China
Abstract:At first, a species was derived from Vhard-wareInt for the hardware interrupt process in Windows, structure function was defined and each signal processing program was reloaded. The structure function of VhardwareInt-like was called to designate IRQ. Then, the object example of derived species was created by using new dynamic condition. The interrupt process program of reloading interrupt notice was compiled, at last, the hook function was called to interrupt program. After hooking, the Physical Unmark member function was called to make sure the interrupt process.
Keywords:Hardware interrupt  Interrupt process  Structure function  Derived species  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号