~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-arm/memory.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *  linux/include/asm-arm/memory.h
  3  *
  4  *  Copyright (C) 2000 Russell King
  5  *
  6  * This program is free software; you can redistribute it and/or modify
  7  * it under the terms of the GNU General Public License version 2 as
  8  * published by the Free Software Foundation.
  9  *
 10  *  Note: this file should not be included by non-asm/.h files
 11  *
 12  *  Modifications:
 13  */
 14 #ifndef __ASM_ARM_MEMORY_H
 15 #define __ASM_ARM_MEMORY_H
 16 
 17 #include <asm/arch/memory.h>
 18 
 19 extern __inline__ unsigned long virt_to_phys(volatile void *x)
 20 {
 21         return __virt_to_phys((unsigned long)(x));
 22 }
 23 
 24 extern __inline__ void *phys_to_virt(unsigned long x)
 25 {
 26         return (void *)(__phys_to_virt((unsigned long)(x)));
 27 }
 28 
 29 /*
 30  * Virtual <-> DMA view memory address translations
 31  */
 32 #define virt_to_bus(x)          (__virt_to_bus((unsigned long)(x)))
 33 #define bus_to_virt(x)          ((void *)(__bus_to_virt((unsigned long)(x))))
 34 
 35 #endif
 36 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.