Re: Converting logical address to physical address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Sun, Mar 15, 2009 at 7:14 PM, Pravin <shindepravin@xxxxxxxxx> wrote:
> Hi,
> I am working on SKINIT instruction of AMD processor for virtualization
> support and I need to pass a physical address of my code block.
> I have loaded this code block in kernel memory, but I am having
> problems in finding the physical address of this block from linux
> kernel.
> I also want to access the content of particular physical memory
> address from Linux kernel.
>
> Please let me know if there is any macro or function which will
> convert logical address to physical address and vice versa.

IIRC, it's virt_to_phys()

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux