RE: virt_to_phys - what am I doing wrong?

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

 



> > 	0xc1c8c000-0xc0000000+0x10000000 = 11c8c000
> >
> > > Gives me:
> > > membase=0xc1c8c000
> > > physbase=0x298369024
> It should work, otherwise the memory would not work :)
> 
> How about trying printk with 0x%lx instead?

298369024 decimal does = 0x11c8c000

I don't know if I've complemented Tony's genius lately :)

Regards,
Richard W. 

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