How to Allocate Non-Cached Memory for an NDIS Driver

ID: Q124079


The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT, versions 3.1, 3.5, 3.51

An NDIS driver making a call to NdisAllocateMemory faces certain restrictions when attempting to allocate non-cached memory. To safely allocate non-cached memory, you need to make the call at the IRQL < PASSIVE_LEVEL. In the NDIS environment, you can only be assured that your driver is running at this level in the initialization code. Therefore, if you anticipate the need for using non-cached memory during the execution of your driver code, make the call to NdisAllocateMemory in the initialization code.

Additional query words: 3.10 3.50

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: March 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.