阅读:1043回复:7
高分求教!!!!!
我现在硬件和驱动联调!
每次加载完驱动重起,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是我加的。 高手兄们,给小弟指点一下吧!!!! |
|
|
沙发#
发布于: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] |
|
|
板凳#
发布于:2002-11-05 12:44
我一直搞不太懂如何判断是不是自己的中断,看help也没看出该怎末作,请您指点一下! 调用那些类和函数? 具体如何表达? :(
|
|
|
地板#
发布于:2002-11-05 12:46
还有hglzw赶快到非USB版来拿分!!!
|
|
|
地下室#
发布于:2002-11-05 13:20
来了
|
|
|
5楼#
发布于:2002-11-05 13:24
你就发表以下意见吧! 猫咪! :)
|
|
|
6楼#
发布于:2002-11-05 13:29
我不懂驱动 :(
|
|
|
7楼#
发布于:2002-11-05 13:31
faint! :mad:
|
|
|