-
- Downloads
Introduce virt_to_phys()
virt_to_phys() returns the physical address given a virtual. In most
cases this will be 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 <galak@kernel.crashing.org>
Showing
- include/asm-arm/io.h 5 additions, 0 deletionsinclude/asm-arm/io.h
- include/asm-avr32/io.h 5 additions, 0 deletionsinclude/asm-avr32/io.h
- include/asm-blackfin/io.h 5 additions, 0 deletionsinclude/asm-blackfin/io.h
- include/asm-i386/io.h 5 additions, 0 deletionsinclude/asm-i386/io.h
- include/asm-m68k/io.h 5 additions, 0 deletionsinclude/asm-m68k/io.h
- include/asm-microblaze/io.h 5 additions, 0 deletionsinclude/asm-microblaze/io.h
- include/asm-mips/io.h 1 addition, 1 deletioninclude/asm-mips/io.h
- include/asm-nios/io.h 5 additions, 0 deletionsinclude/asm-nios/io.h
- include/asm-nios2/io.h 5 additions, 0 deletionsinclude/asm-nios2/io.h
- include/asm-ppc/io.h 5 additions, 0 deletionsinclude/asm-ppc/io.h
- include/asm-sh/io.h 5 additions, 0 deletionsinclude/asm-sh/io.h
- include/asm-sparc/io.h 5 additions, 0 deletionsinclude/asm-sparc/io.h
Loading
Please register or sign in to comment