• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-cns3xxx/include/mach/
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
13		.macro	addruart,rx,rtmp
14		mrc	p15, 0, \rx, c1, c0
15		tst	\rx, #1			@ MMU enabled?
16		moveq	\rx,      #0x10000000
17		movne	\rx,      #0xf0000000	@ virtual base
18		orr	\rx, \rx, #0x00009000
19		.endm
20
21#include <asm/hardware/debug-pl01x.S>
22