Re: [ntfsd] virtual address to physical address

Sorry, but since you say malloc that implies a user
address that is not tied to any physical address. Also
if the area in question crosses a page boundary the
the pages may be discontinous.

If you are looking for this you need to lock the area
into memory with a kernel call MmProbeAndLockPages
after building a MDL for the area. It is then possible
to get the physical address of the specific pages.

Tell us what you want to do, and maybe there is an
easier way.

Don Burn
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From:
To: “File Systems Developers”
Sent: Tuesday, April 15, 2003 8:01 AM
Subject: [ntfsd] virtual address to physical address

> Hai All,
>
> How to get the physical memroy address that is associated witht the
> virtual memroy address that has been allocated by malloc() under windows
> 2000.
>
> Any information will be helpful.
>
> Thanks and regards,
> Kedar.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com