Logical address to physical address translation

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

 



Hi
I understand that to convert from logical to physical address space, we can use the macro __pa or virt_to_phys(), which applies for kernel memory space and not for user address space. (Am I correct?)
Further, if I want to get the physical frame number for a given logical address, can someone please suggest me the way? [Is writing a code to walk through the page tables the only way? or can we make use of an already existing function/module?]

Thank you,
Arun

[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