Kernel Virtual Address

I have a physical address in a non-pagged pool (Common Buffer) how to get
the KernalVirtual address of this physical address???

If I can get the KernalVa of this physical address, I could be able to
copy
the data in that location using RtlCopyMemory.

Pls Help me in this regard.

Thanks in Advance.

Anand.

How did you get the physical address in the first place?

Given an arbitrary physical page, there’s no mechanism for finding if there
even IS a virtual address for the physical page (keep in mind, there is
nothing that requires you have a VA for every PA.) But it is also difficult
to construct programming scenarios where you would get a physical address
for a common buffer and not get the corresponding virtual address.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: Anand Kalyan [mailto:xxxxx@sstil.com]
Sent: Friday, May 09, 2003 3:11 AM
To: File Systems Developers
Subject: [ntfsd] Kernel Virtual Address

I have a physical address in a non-pagged pool (Common Buffer) how to get
the KernalVirtual address of this physical address???

If I can get the KernalVa of this physical address, I could be able to
copy
the data in that location using RtlCopyMemory.

Pls Help me in this regard.

Thanks in Advance.

Anand.


You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com