How to disable cache

Hi All,

I have allocated physically contiguous memory using
MmAllocateContiguousMemory. I want to disable cache for the pages I have
allocated above. How can I do this?

Thanks,
Jeyaram


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

Did you have a problem with MmAllocateContiguousMemorySpecifyCache, or
are you referring to an NT4 system?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@ctd.hcltech.com
Sent: Thursday, December 20, 2001 2:21 AM
To: NT Developers Interest List
Subject: [ntdev] How to disable cache

Hi All,

I have allocated physically contiguous memory using
MmAllocateContiguousMemory. I want to disable cache for the
pages I have
allocated above. How can I do this?

Thanks,
Jeyaram


You are currently subscribed to ntdev as:
xxxxx@hollistech.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

Use HalAllocateCommonBuffer.
In fact, MmAllocateContiguousMemory is of not much use. This memory is for DMA only, and HalAllocateCommonBuffer is intended for
DMA.

Max

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Thursday, December 20, 2001 2:21 AM
Subject: [ntdev] How to disable cache

> Hi All,
>
> I have allocated physically contiguous memory using
> MmAllocateContiguousMemory. I want to disable cache for the pages I have
> allocated above. How can I do this?
>
> Thanks,
> Jeyaram
>
> —
> 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