Re: Size of contiguous memory
From: Elliott (Elliott__T_at_hotmail.com)
Date: 07/06/04
- Next message: Nathan McNulty: "Re: USB device down after some time"
- Previous message: Maxim S. Shatskih: "Re: Size of contiguous memory"
- In reply to: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Next in thread: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Reply: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 14:44:43 +0800
Hi Maxim,
Could you give me some hints about which item(s) of the
DEVICE_DESCRIPTION structure can affect the size of contiguous memory
allocation? and how it affected if possible. Thankyou very much,
Regards,
Elliott
"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:#mJ#3KyYEHA.2456@TK2MSFTNGP10.phx.gbl...
> 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: Nathan McNulty: "Re: USB device down after some time"
- Previous message: Maxim S. Shatskih: "Re: Size of contiguous memory"
- In reply to: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Next in thread: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Reply: Maxim S. Shatskih: "Re: Size of contiguous memory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|