1 /***************************************************************************
2 * Copyright (C) 2006 by Dominic Rath *
3 * Dominic.Rath@gmx.de *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17 ***************************************************************************/
47 #define MODE_CURRENT 0x80
49 #define MODE_MASK 0x1f
54 #define XSCALE_DBG_MAINID 0x0
55 #define XSCALE_DBG_CACHETYPE 0x1
56 #define XSCALE_DBG_CTRL 0x2
57 #define XSCALE_DBG_AUXCTRL 0x3
58 #define XSCALE_DBG_TTB 0x4
59 #define XSCALE_DBG_DAC 0x5
60 #define XSCALE_DBG_FSR 0x6
61 #define XSCALE_DBG_FAR 0x7
62 #define XSCALE_DBG_PID 0x8
63 #define XSCALE_DBG_CPACCESS 0x9
64 #define XSCALE_DBG_IBCR0 0xa
65 #define XSCALE_DBG_IBCR1 0xb
66 #define XSCALE_DBG_DBR0 0xc
67 #define XSCALE_DBG_DBR1 0xd
68 #define XSCALE_DBG_DBCON 0xe