Path: blob/master/arch/arm/mach-integrator/include/mach/io.h
15162 views
/*1* arch/arm/mach-integrator/include/mach/io.h2*3* Copyright (C) 1999 ARM Limited4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA18*/19#ifndef __ASM_ARM_ARCH_IO_H20#define __ASM_ARM_ARCH_IO_H2122#define IO_SPACE_LIMIT 0xffff2324/*25* WARNING: this has to mirror definitions in platform.h26*/27#define PCI_MEMORY_VADDR 0xe800000028#define PCI_CONFIG_VADDR 0xec00000029#define PCI_V3_VADDR 0xed00000030#define PCI_IO_VADDR 0xee0000003132#define __io(a) ((void __iomem *)(PCI_IO_VADDR + (a)))33#define __mem_pci(a) (a)3435#endif363738