Re: How can I test if a physical address is already mapped or not.

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

 



> unsigned long    * const pReg = (unsigned long*) 0XC0000000 ;

> 
> printk( KERN_INFO"** read (%p) %08lX.\n", pReg, *pReg) ;

On any virtual memory processor I am aware of, the above will cause pReg to contain a virtual address, not a physical address.



Jeff,

I do not follow you... Could you, please be more explicit.

Thanks.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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