Re: RE: Problem in getting kernel vritual address

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

 



Hello Gopa,

The ioremap() should be used with  IO memory only not with processor physical address.
For your information

Regards
Jhoney

On Thu, 21 Oct 2004 Thekkedath,Gopakumar wrote :
>
>
> >virtual_address = __va(0xfdf00000)  to get the virtual address for
> >CCSRBAR , which  contains fdf00000 at offset zero.(It contains it's
> >address at the offset zero from the CCSRBAR).
>
> >If  I dereference the virtual_address( *virtual_address  = fdf00000)
> >it should contain the same address. But when i tried this , it result in
> >segmentation fault. pls give me any clue.
>
>  I am not sure, but probably you should use ioremap().

[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