Re: Size of contiguous memory
From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 07/06/04
- Next message: Elliott: "Re: Size of contiguous memory"
- Previous message: Elliott: "Size of contiguous memory"
- In reply to: Elliott: "Size of contiguous memory"
- Next in thread: Elliott: "Re: Size of contiguous memory"
- Reply: Elliott: "Re: Size of contiguous memory"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 10:34:36 +0400
IIRC AllocateCommonBuffer behavior depends on DEVICE_DESCRIPTION passed to
IoGetDmaAdapter.
-- Maxim Shatskih, Windows DDK MVP StorageCraft Corporation maxim@storagecraft.com http://www.storagecraft.com "Elliott" <Elliott__T@hotmail.com> wrote in message news:OcVI2HyYEHA.1264@TK2MSFTNGP11.phx.gbl... > Hi all, > > Is it possible to allocate a 512KByte contiguous memory in the WDM > driver? I have tried the AllocateCommonBuffer function (in wdm.h) to > allocate these memory but it can max. allocate a around 64KByte buffer. By > contrast, If I'm using the MmAllocateContiguousMemory function (in ntddk.h), > it can let me allocate even more than 1MByte buffer. What is the difference > on them? Can I use MmAllocateContiguousMemory function in WDM driver? or Is > there any other function can allocate such large contiguous memory in WDM > driver? > > Thanks in advance, > > Regards, > Elliott > WDM driver beginner > >
- Next message: Elliott: "Re: Size of contiguous memory"
- Previous message: Elliott: "Size of contiguous memory"
- In reply to: Elliott: "Size of contiguous memory"
- Next in thread: Elliott: "Re: Size of contiguous memory"
- Reply: Elliott: "Re: Size of contiguous memory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|