2 * linux/arch/arm/lib/io-acorn.S
4 * Copyright (C) 1995, 1996 Russell King
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.
10 * 27/03/03 Ian Molton Clean up CONFIG_CPU
13 #include <linux/linkage.h>
14 #include <asm/assembler.h>
15 #include <asm/hardware.h>
20 .equ diff_pcio_base, PCIO_BASE - IO_BASE
24 orr r8, r8, r8, lsr #16
25 str r8, [r3, r0, lsl #2]
27 orr r8, r8, r8, lsl #16
28 str r8, [r3, r0, lsl #2]
31 .macro inw2 rd, mask, temp
35 orr \rd, \rd, \temp, lsl #16
41 add \rd, \rd, #IO_BASE
42 addeq \rd, \rd, #diff_pcio_base
46 .ascii "<4>insl/outsl not implemented, called from %08lX\0"
50 * These make no sense on Acorn machines.
51 * Print a warning message.