Root/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/io.h

1/*
2 * Copyright (C) 2003 Artec Design Ltd.
3 * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 */
10
11#ifndef __ASM_ARM_ARCH_IO_H
12#define __ASM_ARM_ARCH_IO_H
13
14#define IO_SPACE_LIMIT 0xffffffff
15
16/*
17 * We don't support ins[lb]/outs[lb]. Make them fault.
18 */
19#define __raw_readsb(p, d, l) do { *(int *)0 = 0; } while (0)
20#define __raw_readsl(p, d, l) do { *(int *)0 = 0; } while (0)
21#define __raw_writesb(p, d, l) do { *(int *)0 = 0; } while (0)
22#define __raw_writesl(p, d, l) do { *(int *)0 = 0; } while (0)
23
24#define __io(a) __typesafe_io(a)
25#define __mem_pci(a) (a)
26
27#endif
28

Archive Download this file



interactive