Alternative to DPCs

Hi,
I’m wondering what the alternative is to a DPC. I have an NDIS WAN Miniport
driver in which I use a ‘second’ DPC. WHQL doesn’t allow me to use KeXXX DPC
API. The first DPC (associated with my hardware interrupts) is managed by NDIS
(a weak interrupt handler) but that’s the only one I can have. I do require
a second one.

Will I have to redesign my code so that I use the first DPC or is there some
trick I can use to implement an additional DPC? I can’t use WorkItems or Timers
because I’m running at > DISPATCH_LEVEL.

Any suggestions?

*************************** ADVERTISEMENT ******************************
rsvp.ie, Ireland’s most popular online dating service. Make it Happen!
http://www.rsvp.ie

Lee Rhodes wrote:

I’m wondering what the alternative is to a DPC. I have an NDIS WAN Miniport
driver in which I use a ‘second’ DPC. WHQL doesn’t allow me to use KeXXX DPC
API. The first DPC (associated with my hardware interrupts) is managed by NDIS
(a weak interrupt handler) but that’s the only one I can have. I do require
a second one.

Will I have to redesign my code so that I use the first DPC or is there some
trick I can use to implement an additional DPC? I can’t use WorkItems or Timers
because I’m running at > DISPATCH_LEVEL.

What does the second DPC do?


Walter Oney, Consulting and Training
Check out new US seminar schedule at http://www.oneysoft.com

> > I’m wondering what the alternative is to a DPC. I have an NDIS WAN Miniport

> driver in which I use a ‘second’ DPC. WHQL doesn’t allow me to use KeXXX
DPC
> API. The first DPC (associated with my hardware interrupts) is managed by
NDIS
> (a weak interrupt handler) but that’s the only one I can have. I do require

> a second one.
>
> Will I have to redesign my code so that I use the first DPC or is there
some
> trick I can use to implement an additional DPC? I can’t use WorkItems or
Timers
> because I’m running at > DISPATCH_LEVEL.

What does the second DPC do?
It seems that I don’t need the second DPC after all! I can easily modify my
‘weak interrupt handler’ to do the work of the second DPC. Only one DPC is actually
used at any one time when the driver is running.

Thanks anyway,
Lee

*************************** ADVERTISEMENT ******************************
rsvp.ie, Ireland’s most popular online dating service. Make it Happen!
http://www.rsvp.ie

Use NDIS work item, and grab some NDIS spinlock in it if you really
need >= DISPATCH_LEVEL.

Max

----- Original Message -----
From: “Lee Rhodes”
To: “NT Developers Interest List”
Sent: Thursday, September 26, 2002 2:39 PM
Subject: [ntdev] Alternative to DPCs

> Hi,
> I’m wondering what the alternative is to a DPC. I have an NDIS WAN
Miniport
> driver in which I use a ‘second’ DPC. WHQL doesn’t allow me to use
KeXXX DPC
> API. The first DPC (associated with my hardware interrupts) is
managed by NDIS
> (a weak interrupt handler) but that’s the only one I can have. I do
require
> a second one.
>
> Will I have to redesign my code so that I use the first DPC or is
there some
> trick I can use to implement an additional DPC? I can’t use
WorkItems or Timers
> because I’m running at > DISPATCH_LEVEL.
>
> Any suggestions?
>
> ADVERTISEMENT
***
> rsvp.ie, Ireland’s most popular online dating service. Make it
Happen!
> http://www.rsvp.ie
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>