debug-macro.S 677 字节
Newer Older
1
/* arch/arm/mach-ixp2000/include/mach/debug-macro.S
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11 12 13
 *
 * Debugging macro include header
 *
 *  Copyright (C) 1994-1999 Russell King
 *  Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
*/

14
		.macro  addruart, rp, rv, tmp
15
		mov	\rp, #0x00030000
L
Linus Torvalds 已提交
16
#ifdef	__ARMEB__
17
		orr	\rp, \rp, #0x00000003
L
Linus Torvalds 已提交
18
#endif
19 20 21
		orr	\rv, \rp, #0xfe000000	@ virtual base
		orr	\rv, \rv, #0x00f00000
		orr	\rp, \rp, #0xc0000000	@ Physical base
L
Linus Torvalds 已提交
22 23
		.endm

24 25
#define UART_SHIFT	2
#include <asm/hardware/debug-8250.S>