Contiguous memory

Hi all
I need to know what is the function in WDM windows98 DDK that can allocate Contiguous memory buffer like the Allocatecontiguousmemory win Windows 2000 DDK
thanks
Hesham


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try MmAllocateContiguousMemory.

Gary

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of hesham desokey
Sent: Tuesday, May 01, 2001 10:26 AM
To: NT Developers Interest List
Subject: [ntdev] Contiguous memory

Hi all
I need to know what is the function in WDM windows98 DDK that can allocate
Contiguous memory buffer like the Allocatecontiguousmemory win Windows 2000
DDK
thanks
Hesham

You are currently subscribed to ntdev as: xxxxx@delphieng.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

pDmaAdapter->AllocateCommonBuffer is able of doing this.

Max

----- Original Message -----
From: hesham desokey
To: NT Developers Interest List
Sent: Tuesday, May 01, 2001 9:25 PM
Subject: [ntdev] Contiguous memory

Hi all
I need to know what is the function in WDM windows98 DDK that can allocate Contiguous memory buffer like the Allocatecontiguousmemory win Windows 2000 DDK
thanks
Hesham

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

MmAllocateContiguousMemory only exists in ntddk.h and cannot be used in
true WDM drivers. Max’s suggestion of pDmaAdapter->AllocateCommonBuffer()
is the way to go.

Bill M.

On 05/01/01, ““Gary G. Little” ” wrote:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_001B_01C0D23A.69F45410
> Content-Type: text/plain;
> charset=“iso-8859-1”
> Content-Transfer-Encoding: 7bit
>
> Try MmAllocateContiguousMemory.
>
> Gary
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of hesham desokey
> Sent: Tuesday, May 01, 2001 10:26 AM
> To: NT Developers Interest List
> Subject: [ntdev] Contiguous memory
>
> Hi all
> I need to know what is the function in WDM windows98 DDK that can allocate
> Contiguous memory buffer like the Allocatecontiguousmemory win Windows 2000
> DDK
> thanks
> Hesham
> —
> You are currently subscribed to ntdev as: xxxxx@delphieng.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> ------=_NextPart_000_001B_01C0D23A.69F45410
> Content-Type: text/html;
> charset=“iso-8859-1”
> Content-Transfer-Encoding: quoted-printable
>
>
> > xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns=3D"http://www.w3.org/TR/REC-html40">
>
>
> > charset=3Diso-8859-1">
>

>

>

>

>
>
>
>

>
>
>
>
>
>



>
>

> color=3Dnavy face=3DArial>> style=3D’font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial’>Tr=
> y
> color=3Dnavy>> style=3D’color:navy’>MmAllocateContiguousMemory.> color=3Dnavy>> style=3D’color:navy;mso-color-alt:windowtext’><o:p></o:p>=
> p>
>
>

> Roman">> style=3D'font-size:12.0pt;color:navy'>> !supportEmptyParas]> > color=3Dnavy>> style=3D'color:navy;mso-color-alt:windowtext'>=
> p>
>
>

> Roman">> style=3D'font-size:12.0pt;color:navy'>Gary> class=3DEmailStyle15>> size=3D2 color=3Dnavy face=3DArial>> style=3D'font-size:10.0pt;mso-bidi-font-size:
> 12.0pt;font-family:Arial'>


>
>

> color=3Dnavy face=3DArial>> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>> [if =
> !supportEmptyParas]>


>
>

> color=3Dblack
> face=3DTahoma>> style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
> Message-----

> From:
> xxxxx@lists.osr.com =
> [mailto:xxxxx@lists.osr.com]> style=3D'font-weight:bold'>On Behalf Of hesham desokey

> Sent: Tuesday, May 01, =
> 2001 10:26
> AM

> To: NT Developers =
> Interest List

> Subject: [ntdev] =
> Contiguous memory


>
>

> face=3D"Times New Roman">> style=3D'font-size:12.0pt'>> !supportEmptyParas]>


>
>

> color=3Dblack
> face=3DArial>> style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hi =
> all
> color=3Dblack>> style=3D'color:black;mso-color-alt:windowtext'><=
> /p>
>
>

> color=3Dblack
> face=3DArial>> style=3D'font-size:10.0pt;font-family:Arial;color:black'>I need
> to know what is the function in WDM windows98 DDK that can allocate =
> Contiguous
> memory buffer like the Allocatecontiguousmemory win Windows 2000 =
> DDK
> color=3Dblack>> style=3D'color:black;mso-color-alt:windowtext'><=
> /p>
>
>

> color=3Dblack
> face=3DArial>> style=3D'font-size:10.0pt;font-family:Arial;color:black'>thanks> ont>> color=3Dblack>> style=3D'color:black;mso-color-alt:windowtext'><=
> /p>
>
>

> color=3Dblack
> face=3DArial>> style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hesham> ont>> color=3Dblack>> style=3D'color:black;mso-color-alt:windowtext'><=
> /p>
>
>

> color=3Dblack
> face=3D"Times New Roman">> style=3D'font-size:12.0pt;color:black'>---

> You are currently subscribed to ntdev as: xxxxx@delphieng.com

> To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com =
>
> color=3Dblack>> style=3D'color:black;mso-color-alt:windowtext'><=
> /p>
>
>


>
>
> ---

> You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')

> To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
>
---

You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

>
>
>
>
> ------=_NextPart_000_001B_01C0D23A.69F45410--

hi all
Thanks for your support in this subject.
but why the MmAllocateContiguousMemory exist only in ntddk.h
!!!
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Wednesday, May 02, 2001 1:29 AM
Subject: [ntdev] RE: Contiguous memory

> MmAllocateContiguousMemory only exists in ntddk.h and cannot be used in
> true WDM drivers. Max’s suggestion of pDmaAdapter->AllocateCommonBuffer()
> is the way to go.
>
> Bill M.
>
> On 05/01/01, ““Gary G. Little” ” wrote:
> > This is a multi-part message in MIME format.
> >
> > ------=_NextPart_000_001B_01C0D23A.69F45410
> > Content-Type: text/plain;
> > charset=“iso-8859-1”
> > Content-Transfer-Encoding: 7bit
> >
> > Try MmAllocateContiguousMemory.
> >
> > Gary
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of hesham desokey
> > Sent: Tuesday, May 01, 2001 10:26 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Contiguous memory
> >
> > Hi all
> > I need to know what is the function in WDM windows98 DDK that can
allocate
> > Contiguous memory buffer like the Allocatecontiguousmemory win Windows
2000
> > DDK
> > thanks
> > Hesham
> > —
> > You are currently subscribed to ntdev as: xxxxx@delphieng.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@yahoo.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> > ------=_NextPart_000_001B_01C0D23A.69F45410
> > Content-Type: text/html;
> > charset=“iso-8859-1”
> > Content-Transfer-Encoding: quoted-printable
> >
> >
> > > > xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> > xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> > xmlns=3D"http://www.w3.org/TR/REC-html40">
> >
> >
> > > > charset=3Diso-8859-1">
> >

> >

> >

> >

> >
> >
> >
> >

> >
> >
> >
> >
> >
> >



> >
> >

> > color=3Dnavy face=3DArial>> >
style=3D’font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial’>Tr=
> > y
> > color=3Dnavy>> > style=3D’color:navy’>MmAllocateContiguousMemory.> > color=3Dnavy>> >
style=3D’color:navy;mso-color-alt:windowtext’><o:p></o:p>
=
> > p>
> >
> >

> > Roman">> > style=3D'font-size:12.0pt;color:navy'>> > !supportEmptyParas]> > > color=3Dnavy>> >
style=3D'color:navy;mso-color-alt:windowtext'>
=
> > p>
> >
> >

> > Roman">> > style=3D'font-size:12.0pt;color:navy'>Gary> > class=3DEmailStyle15>> > size=3D2 color=3Dnavy face=3DArial>> > style=3D'font-size:10.0pt;mso-bidi-font-size:
> > 12.0pt;font-family:Arial'>


> >
> >

> > color=3Dnavy face=3DArial>> >
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>> > [if =
> > !supportEmptyParas]>


> >
> >

> > color=3Dblack
> > face=3DTahoma>> > style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
> > Message-----

> > From:
> > xxxxx@lists.osr.com =
> > [mailto:xxxxx@lists.osr.com]> > style=3D'font-weight:bold'>On Behalf Of hesham desokey

> > Sent: Tuesday, May 01, =
> > 2001 10:26
> > AM

> > To: NT Developers =
> > Interest List

> > Subject: [ntdev] =
> > Contiguous memory


> >
> >

> > face=3D"Times New Roman">> > style=3D'font-size:12.0pt'>> > !supportEmptyParas]>


> >
> >

> > color=3Dblack
> > face=3DArial>> > style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hi =
> > all
> > color=3Dblack>> >
style=3D'color:black;mso-color-alt:windowtext'>
<=
> > /p>
> >
> >

> > color=3Dblack
> > face=3DArial>> > style=3D'font-size:10.0pt;font-family:Arial;color:black'>I need
> > to know what is the function in WDM windows98 DDK that can allocate =
> > Contiguous
> > memory buffer like the Allocatecontiguousmemory win Windows 2000 =
> > DDK
> > color=3Dblack>> >
style=3D'color:black;mso-color-alt:windowtext'>
<=
> > /p>
> >
> >

> > color=3Dblack
> > face=3DArial>> >
style=3D'font-size:10.0pt;font-family:Arial;color:black'>thanks
> > ont>> > color=3Dblack>> >
style=3D'color:black;mso-color-alt:windowtext'>
<=
> > /p>
> >
> >

> > color=3Dblack
> > face=3DArial>> >
style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hesham
> > ont>> > color=3Dblack>> >
style=3D'color:black;mso-color-alt:windowtext'>
<=
> > /p>
> >
> >

> > color=3Dblack
> > face=3D"Times New Roman">> > style=3D'font-size:12.0pt;color:black'>---

> > You are currently subscribed to ntdev as: xxxxx@delphieng.com

> > To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com =
> >
> > color=3Dblack>> >
style=3D'color:black;mso-color-alt:windowtext'>
<=
> > /p>
> >
> >


> >
> >
> > ---

> > You are currently subscribed to ntdev as: xxxxx@yahoo.com

> > To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
> >
> ---

> You are currently subscribed to ntdev as: xxxxx@yahoo.com

> To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
>
---

You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

> >
> >
> >
> >
> > ------=_NextPart_000_001B_01C0D23A.69F45410--

_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com

Why do you need it? If you aren’t doing DMA, then what is the purpose of
having logically contiguous memory? If you are doing DMA, then why can’t
you use AllocateCommonBuffer()?

Bill M.

On 05/02/01, ““Hesham Desokey” ” wrote:
> hi all
> Thanks for your support in this subject.
> but why the MmAllocateContiguousMemory exist only in ntddk.h
> !!!
> ----- Original Message -----
> From:
> To: “NT Developers Interest List”
> Sent: Wednesday, May 02, 2001 1:29 AM
> Subject: [ntdev] RE: Contiguous memory
>
>
> > MmAllocateContiguousMemory only exists in ntddk.h and cannot be used in
> > true WDM drivers. Max’s suggestion of pDmaAdapter->AllocateCommonBuffer()
> > is the way to go.
> >
> > Bill M.
> >
> > On 05/01/01, ““Gary G. Little” ” wrote:
> > > This is a multi-part message in MIME format.
> > >
> > > ------=_NextPart_000_001B_01C0D23A.69F45410
> > > Content-Type: text/plain;
> > > charset=“iso-8859-1”
> > > Content-Transfer-Encoding: 7bit
> > >
> > > Try MmAllocateContiguousMemory.
> > >
> > > Gary
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com]On Behalf Of hesham desokey
> > > Sent: Tuesday, May 01, 2001 10:26 AM
> > > To: NT Developers Interest List
> > > Subject: [ntdev] Contiguous memory
> > >
> > > Hi all
> > > I need to know what is the function in WDM windows98 DDK that can
> allocate
> > > Contiguous memory buffer like the Allocatecontiguousmemory win Windows
> 2000
> > > DDK
> > > thanks
> > > Hesham
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@delphieng.com
> > > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as: xxxxx@yahoo.com
> > > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> > >
> > > ------=_NextPart_000_001B_01C0D23A.69F45410
> > > Content-Type: text/html;
> > > charset=“iso-8859-1”
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > >
> > > > > > xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> > > xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> > > xmlns=3D"http://www.w3.org/TR/REC-html40">
> > >
> > >
> > > > > > charset=3Diso-8859-1">
> > >

> > >

> > >

> > >

> > >
> > >
> > >
> > >

> > >
> > >
> > >
> > >
> > >
> > >



> > >
> > >

> > > color=3Dnavy face=3DArial>> > >
> style=3D’font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial’>Tr=
> > > y
> > > color=3Dnavy>> > > style=3D’color:navy’>MmAllocateContiguousMemory.> > > color=3Dnavy>> > >
> style=3D’color:navy;mso-color-alt:windowtext’><o:p></o:p>
=
> > > p>
> > >
> > >

> > > Roman">> > > style=3D'font-size:12.0pt;color:navy'>> > > !supportEmptyParas]> > > > color=3Dnavy>> > >
> style=3D'color:navy;mso-color-alt:windowtext'>
=
> > > p>
> > >
> > >

> > > Roman">> > > style=3D'font-size:12.0pt;color:navy'>Gary> > > class=3DEmailStyle15>> > > size=3D2 color=3Dnavy face=3DArial>> > > style=3D'font-size:10.0pt;mso-bidi-font-size:
> > > 12.0pt;font-family:Arial'>


> > >
> > >

> > > color=3Dnavy face=3DArial>> > >
> style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>> > > [if =
> > > !supportEmptyParas]>


> > >
> > >

> > > color=3Dblack
> > > face=3DTahoma>> > > style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
> > > Message-----

> > > From:
> > > xxxxx@lists.osr.com =
> > > [mailto:xxxxx@lists.osr.com]> > > style=3D'font-weight:bold'>On Behalf Of hesham desokey

> > > Sent: Tuesday, May 01, =
> > > 2001 10:26
> > > AM

> > > To: NT Developers =
> > > Interest List

> > > Subject: [ntdev] =
> > > Contiguous memory


> > >
> > >

> > > face=3D"Times New Roman">> > > style=3D'font-size:12.0pt'>> > > !supportEmptyParas]>


> > >
> > >

> > > color=3Dblack
> > > face=3DArial>> > > style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hi =
> > > all
> > > color=3Dblack>> > >
> style=3D'color:black;mso-color-alt:windowtext'>
<=
> > > /p>
> > >
> > >

> > > color=3Dblack
> > > face=3DArial>> > > style=3D'font-size:10.0pt;font-family:Arial;color:black'>I need
> > > to know what is the function in WDM windows98 DDK that can allocate =
> > > Contiguous
> > > memory buffer like the Allocatecontiguousmemory win Windows 2000 =
> > > DDK
> > > color=3Dblack>> > >
> style=3D'color:black;mso-color-alt:windowtext'>
<=
> > > /p>
> > >
> > >

> > > color=3Dblack
> > > face=3DArial>> > >
> style=3D'font-size:10.0pt;font-family:Arial;color:black'>thanks
> > > ont>> > > color=3Dblack>> > >
> style=3D'color:black;mso-color-alt:windowtext'>
<=
> > > /p>
> > >
> > >

> > > color=3Dblack
> > > face=3DArial>> > >
> style=3D'font-size:10.0pt;font-family:Arial;color:black'>Hesham
> > > ont>> > > color=3Dblack>> > >
> style=3D'color:black;mso-color-alt:windowtext'>
<=
> > > /p>
> > >
> > >

> > > color=3Dblack
> > > face=3D"Times New Roman">> > > style=3D'font-size:12.0pt;color:black'>---

> > > You are currently subscribed to ntdev as: xxxxx@delphieng.com

> > > To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com =
> > >
> > > color=3Dblack>> > >
> style=3D'color:black;mso-color-alt:windowtext'>
<=
> > > /p>
> > >
> > >


> > >
> > >
> > > ---

> > > You are currently subscribed to ntdev as: xxxxx@yahoo.com

> > > To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
> > >
> > ---

> > You are currently subscribed to ntdev as: xxxxx@yahoo.com

> > To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
> >
> ---

> You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')

> To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com
>
---

You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

> > >
> > >
> > >
> > >
> > > ------=_NextPart_000_001B_01C0D23A.69F45410--
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com