What does "outsid eof the context " mean in the following text below?

What does "outsid e of the context " mean in the following text below?
How does it do that?

When a miniport driver calls NdisMAllocateNetBufferSGList, NDIS calls HAL to
provide the scatter/gather list to the miniport driver. HAL calls
MiniportProcessSGList after HAL finishes building the scatter/gather list.
NDIS can call MiniportProcessSGList outside the context of the call to
NdisMAllocateNetBufferSGList.

It means that it can call MiniportProcessSGList at any time after you
have called NdisMAllocateNetBufferSGList, and not necessarily in the
callstack where you have NdisMAllocateNetBufferSGList. The issue here
is that the majority of the time NdisMAllocateNetBufferSGList will call
MiniportProcessSGList before it returns back to your driver, but if
there are not enough DMA resources, MiniportProcessSGList will be called
later on where there are enough free resources which could be sometime
in the future in some arbitrary context (perhaps where your driver is
not in the callback stack at all)

D

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Sunday, December 17, 2006 6:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] What does "outsid eof the context " mean in the
following text below?

What does "outsid e of the context " mean in the following text below?
How does it do that?

When a miniport driver calls NdisMAllocateNetBufferSGList, NDIS calls
HAL to
provide the scatter/gather list to the miniport driver. HAL calls
MiniportProcessSGList after HAL finishes building the scatter/gather
list.
NDIS can call MiniportProcessSGList outside the context of the call to
NdisMAllocateNetBufferSGList.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer