Go to the documentation of this file.
11 #ifndef __ASM_ARCH_HARDWARE_H
12 #define __ASM_ARCH_HARDWARE_H
25 #define IO_PHYS UL(0x01c00000)
26 #define IO_OFFSET 0xfd000000
27 #define IO_SIZE 0x00400000
28 #define IO_VIRT (IO_PHYS + IO_OFFSET)
29 #define io_v2p(va) ((va) - IO_OFFSET)
30 #define __IO_ADDRESS(x) ((x) + IO_OFFSET)
31 #define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa))