x86: unify pageattr_32.c and pageattr_64.c
[wrt350n-kernel.git] / include / asm-sh / cpu-sh3 / ubc.h
blob4e6381d5ff7a9ff909b580c9f130706c0bcae97e
1 /*
2 * include/asm-sh/cpu-sh3/ubc.h
4 * Copyright (C) 1999 Niibe Yutaka
5 * Copyright (C) 2003 Paul Mundt
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
9 * for more details.
11 #ifndef __ASM_CPU_SH3_UBC_H
12 #define __ASM_CPU_SH3_UBC_H
14 #if defined(CONFIG_CPU_SUBTYPE_SH7710) || \
15 defined(CONFIG_CPU_SUBTYPE_SH7720) || \
16 defined(CONFIG_CPU_SUBTYPE_SH7721)
17 #define UBC_BARA 0xa4ffffb0
18 #define UBC_BAMRA 0xa4ffffb4
19 #define UBC_BBRA 0xa4ffffb8
20 #define UBC_BASRA 0xffffffe4
21 #define UBC_BARB 0xa4ffffa0
22 #define UBC_BAMRB 0xa4ffffa4
23 #define UBC_BBRB 0xa4ffffa8
24 #define UBC_BASRB 0xffffffe8
25 #define UBC_BDRB 0xa4ffff90
26 #define UBC_BDMRB 0xa4ffff94
27 #define UBC_BRCR 0xa4ffff98
28 #else
29 #define UBC_BARA 0xffffffb0
30 #define UBC_BAMRA 0xffffffb4
31 #define UBC_BBRA 0xffffffb8
32 #define UBC_BASRA 0xffffffe4
33 #define UBC_BARB 0xffffffa0
34 #define UBC_BAMRB 0xffffffa4
35 #define UBC_BBRB 0xffffffa8
36 #define UBC_BASRB 0xffffffe8
37 #define UBC_BDRB 0xffffff90
38 #define UBC_BDMRB 0xffffff94
39 #define UBC_BRCR 0xffffff98
40 #endif
42 #endif /* __ASM_CPU_SH3_UBC_H */