friends,
Happy new year 2002 for all of u…
-
I would like to know what is the difference between
IoSkipCurrentIrpStackLocation(Irp) and IoGetNextIrpStackLocation(Irp) , on
the outline they look to be same,but internally how do they differ…
-
similarly. In Partial Resource list what is the Differnece between
the RAW and the TRANSLATED…??/
thanx,
shiv
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
> 1) I would like to know what is the difference between
IoSkipCurrentIrpStackLocation(Irp) and IoGetNextIrpStackLocation(Irp) , on
the outline they look to be same,but internally how do they differ…
The first reuses the same stack location and does not consume the 1 from the stack size.
But - the first one cannot be used if you want to set a completion routine.
- similarly. In Partial Resource list what is the Differnece between
the RAW and the TRANSLATED…??/
Translated IRQ is raw one passed through HalGetInterruptVector.
Translated addresses are raw ones one passed through HalTranslateBusAddress.
You can use translated resources directly for IoConnectInterrupt and MmMapIoSpace.
Max
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
The first question is well covered in the FAQs and archives for this
list.
The next is a little bit more obscure. Your Raw resources are the
bus-relative view of your harware resources. This is what your device
sees. The Translated resources are the resources as the processor views
them. In most PCs, these are mostly the same thing. But in more
complicated machines, they can be very different. (Interrupts are the
notable exception. They are always different.)
Always use the Translated resources to access your device. If you need
to map memory from your card, use the Translated resources. If you need
to read and write using an I/O address as a base, use the Translated
resources. If you need to call IoConnectInterrupt, use the Translated
resources.
If your card needs to be programmed in any way with your resource
assignment, then set your card up using the Raw resources. If your
device is on a PCI bus, then the PCI bus driver will do this for you, so
you will never need to look at the Raw resources.
-----Original Message-----
Subject: IoSkipCurrentIrpStackLocation Vs IoGetNextIrpStackLocation
From: “Shiva Prasad. T. S.”
Date: Mon, 31 Dec 2001 5:56:22
X-Message-Number: 15
friends,
Happy new year 2002 for all of u…
1) I would like to know what is the difference between
IoSkipCurrentIrpStackLocation(Irp) and IoGetNextIrpStackLocation(Irp) ,
on
the outline they look to be same,but internally how do they differ…
2) similarly. In Partial Resource list what is the Differnece between
the RAW and the TRANSLATED…??/
thanx,
shiv
—
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