Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Debugging macro include header |
| 3 | * |
| 4 | * Copyright 1994-1999 Russell King |
| 5 | * Copyright 2008 Cavium Networks |
| 6 | * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks |
| 7 | * |
| 8 | * This file is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License, Version 2, as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
Nicolas Pitre | 639da5e | 2011-08-31 22:55:46 -0400 | [diff] [blame] | 13 | .macro addruart,rp,rv,tmp |
Jeremy Kerr | 0ea1293 | 2010-07-06 18:30:06 +0800 | [diff] [blame] | 14 | mov \rp, #0x00009000 |
| 15 | orr \rv, \rp, #0xf0000000 @ virtual base |
| 16 | orr \rp, \rp, #0x10000000 |
Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 17 | .endm |
| 18 | |
| 19 | #include <asm/hardware/debug-pl01x.S> |