Dear Kumar Gala, In message <[email protected]> you wrote: > virt_to_phys() returns the physical address given a virtual. In most cases > this will just the input value as the vast majority of systems run in a 1:1 > mode. > > However in systems that are not running this way it should report the > physical address or ~0 if no mapping exists for the given virtual address. > > Signed-off-by: Kumar Gala <[email protected]> > --- > > * No change, just reposting as part of the sequence > > - k > > include/asm-arm/io.h | 5 +++++ > include/asm-avr32/io.h | 5 +++++ > include/asm-blackfin/io.h | 5 +++++ > include/asm-i386/io.h | 5 +++++ > include/asm-m68k/io.h | 5 +++++ > include/asm-microblaze/io.h | 5 +++++ > include/asm-mips/io.h | 2 +- > include/asm-nios/io.h | 5 +++++ > include/asm-nios2/io.h | 5 +++++ > include/asm-ppc/io.h | 5 +++++ > include/asm-sh/io.h | 5 +++++ > include/asm-sparc/io.h | 5 +++++ > 12 files changed, 56 insertions(+), 1 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*". - Linus Torvalds in <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

