How can I test if a physical address is already mapped or not.
StephanT
stman937-linewbie at yahoo.com
Tue Oct 18 16:58:03 EDT 2011
> 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.
More information about the Kernelnewbies
mailing list