Hi,
I had sent in a question earlier about how to simulate a memory mapped PCI
card installation so as to ge all PnP messages. I tried setting the
LogConfigOverride option in the .inf file as follows:
[MyDevice.LogConfigOverride]
LogConfig=Device.JustConfig
[MyDevice.JustConfig]
IRQConfig=9
MemConfig = xxxxx@0-FFFFFFFF%FFFFF000
Now I get the IRP_MN_START_DEVICE and other IRPs, but how do I extract the
memory address and IRQ in the driver since
pIrpStack->Parameters.StartDevice.AllocatedResourcesTranslated and
pIrpStack->Parameters.StartDevice.AllocatedResources are both null ??
Is there any workaround for this ?
Thanks in advance
MV
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
At 03:04 PM 5/30/2001 +0000, you wrote:
Now I get the IRP_MN_START_DEVICE and other IRPs, but how do I extract the
memory address and IRQ in the driver since
pIrpStack->Parameters.StartDevice.AllocatedResourcesTranslated and
pIrpStack->Parameters.StartDevice.AllocatedResources are both null ??
1] You can always get the information later with an IoGetDeviceProperty call.
(Ask for the DevicePropertyBootConfiguration property).
2] Are you doing any processing during the
IRP_MN_FILTER_RESOURCE_REQUIREMENTS callback? I’ve noticed that performing
certain actions during that callback will cause the AllocatedResources
pointers to be zeroed out, even if the resources have been properly
allocated. Try putting on a blind passthru to the FILTER minor function to
isolate whether this is part of the issue.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com