Re: RE: Problem in getting kernel vritual address

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

 



On Thu, 21 Oct 2004 12:16:07 +0530, Thekkedath, Gopakumar 

> What i understood from your query was that, u want to access physical
                                                                    ^

The word missing above was "you", please refrain from "text message" speak :-)

> address 0xfdf00000, and that is why i suggested ioremap, you can use
> macros/functions like __va, or phys_to_virt only if there already 'EXISTS'
> mappings for those physical addresses, are you sure you have one ?.

It sounds like he does not and is slightly confused over what is
carried across from the bootloader to the kernel. He needs to
explicitly setup a mapping unless he is dealing with one of the
non-standard ppc IO register regions, in which case there are
genericish access functions as mentioned previously.

Jon.

--
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