nikko
驱动小牛
驱动小牛
  • 注册日期2002-08-08
  • 最后登录2004-09-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1043回复:7

高分求教!!!!!

楼主#
更多 发布于:2002-11-05 08:31
我现在硬件和驱动联调!
每次加载完驱动重起,2000的进度条走到70%就不动了。
在2000里加载驱动,nonitor显示如下:
14.831680   Default     D5933: In DriverEntry
14.831715   Default     D5933: In DriverEntry  NT_SUCCESS(Params.LastError()=Ture!
14.831739   Default     D5933: End #if DBG_#endif
14.831777   Default     D5933: m_bBreakOnEntry loaded from registry, resulting value: [0x00000000]
14.831783   Default     D5933: DriverEntry end!
14.832365   Default     D5933: AddDevice called
14.832667   Default     D5933: Entering D5933Device::D5933Device (constructor)
14.832685   Default     D5933: Check constructor status
14.832698   Default     D5933: SetPnpPolicy
14.832708   Default     D5933: SetPowerPolicy
14.832718   Default     D5933: D5933Device(Pdo, m_Unit)
14.832730   Default     D5933: AddDevice return!!!
14.832794   Default     D5933: Entering D5933Device::DefaultPnp with IRP minor function=<unknown minor function>
14.832801   Default     D5933: Send Irp down!
14.833030   Default     D5933: Entering D5933Device::DefaultPnp with IRP minor function=IRP_MN_FILTER_RESOURCE_REQUIREMENTS
14.833035   Default     D5933: Send Irp down!
14.834027   Default     D5933: Entering D5933Device::OnStartDevice
14.834048   Default     D5933: 复值status& i.information()
14.834062   Default     D5933: PciConfig(m_Lower.TopOfStack())
14.834101   Default     D5933: m_MemoryRange1_128.Initialize
14.834166   Default     D5933: m_MemoryRange2_256K.Initialize
14.834268   Default     D5933: Mem,I/O and IRQ initialized!!!
14.835030   Default     D5933: Entering D5933Device::DefaultPnp with IRP minor function=IRP_MN_QUERY_CAPABILITIES
14.835037   Default     D5933: Send Irp down!
14.835254   Default     D5933: Entering D5933Device::DefaultPnp with IRP minor function=IRP_MN_QUERY_DEVICE_RELATIONS
14.835260   Default     D5933: Send Irp down!

有些t是我加的。
高手兄们,给小弟指点一下吧!!!!
http://202.106.185.224/music_1024/battleraper_02_04_27.mp3
hglzw
驱动小牛
驱动小牛
  • 注册日期2001-06-12
  • 最后登录2006-03-03
  • 粉丝0
  • 关注0
  • 积分19分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-11-05 10:23
是不是你用了中断,而没有在中断callback函数中识别中断源,从而响应了其它(非你的设备)的中断。
如果是,应这样
Isr_Irq(void)
{
// TODO: Verify that the interrupt was caused by our
//device.
 //Replace \"FALSE\" in next line with actual test.
if (!是我的中断)//判断是否自己卡的中断
{
// Return FALSE to indicate that this device did not cause
// the interrupt.
return FALSE;
}

if (!m_DpcFor_Irq.Request(NULL, NULL))//调用中断延时函数 {
// TODO: Request is already in the queue
//You may want to set flags or perform
//other actions in this case
}
}

[编辑 -  11/5/02 by  hglzw]
[img]http://www.kinboh.com/images/5130.jpg[/img]
nikko
驱动小牛
驱动小牛
  • 注册日期2002-08-08
  • 最后登录2004-09-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-11-05 12:44
我一直搞不太懂如何判断是不是自己的中断,看help也没看出该怎末作,请您指点一下! 调用那些类和函数? 具体如何表达? :(
http://202.106.185.224/music_1024/battleraper_02_04_27.mp3
nikko
驱动小牛
驱动小牛
  • 注册日期2002-08-08
  • 最后登录2004-09-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-11-05 12:46
还有hglzw赶快到非USB版来拿分!!!
http://202.106.185.224/music_1024/battleraper_02_04_27.mp3
VanCheer
驱动老牛
驱动老牛
  • 注册日期2002-02-21
  • 最后登录2003-08-28
  • 粉丝0
  • 关注0
  • 积分-20分
  • 威望-10点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2002-11-05 13:20
来了
[img]http://www.driverdevelop.com/forum/upload/VanCheer/2003-03-21_mon.gif[/img][img]http://www.driverdevelop.com/forum/upload/VanCheer/2002-12-07_smallbaby.jpg[/img]
nikko
驱动小牛
驱动小牛
  • 注册日期2002-08-08
  • 最后登录2004-09-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2002-11-05 13:24
你就发表以下意见吧! 猫咪! :)
http://202.106.185.224/music_1024/battleraper_02_04_27.mp3
VanCheer
驱动老牛
驱动老牛
  • 注册日期2002-02-21
  • 最后登录2003-08-28
  • 粉丝0
  • 关注0
  • 积分-20分
  • 威望-10点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2002-11-05 13:29
我不懂驱动 :(
[img]http://www.driverdevelop.com/forum/upload/VanCheer/2003-03-21_mon.gif[/img][img]http://www.driverdevelop.com/forum/upload/VanCheer/2002-12-07_smallbaby.jpg[/img]
nikko
驱动小牛
驱动小牛
  • 注册日期2002-08-08
  • 最后登录2004-09-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
7楼#
发布于:2002-11-05 13:31
faint! :mad:
http://202.106.185.224/music_1024/battleraper_02_04_27.mp3
游客

返回顶部