Re: Kernel virtual address for physical address

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

 



Hi Jhoney,

If you wanted to know how to transform kernel physical addresses to
kernel linear addresses,the __va macro in the kernel enables you to do
it(adds the physical address with PAGE_OFFSET).

Regards
Saravanan S


On 20 Oct 2004 15:42:58 -0000, jhoney jhoney
<jhoney_joney@xxxxxxxxxxxxxx> wrote:
> Hello All,
> 
> I am working with kernel modules , and I would like to know the function that converts physical processor register address to the virtual kernel address so that that can be used in the kernel modules for further operations.
> 
> Thanks in Advance,
> 
> Regards
> 
> Jhoney
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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