Re: Logical address to physical address translation

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

 



Arun Babu wrote:
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?]

Replying too soon, sorry. Check if this helps:
__pa(kaddr) >> PAGE_SHIFT
(ideas taken from the same header file)


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