2 * arch/arm/include/asm/glue-df.h
4 * Copyright (C) 1997-1999 Russell King
5 * Copyright (C) 2000-2002 Deep Blue Solutions Ltd.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
20 * We have the following to choose from:
23 * v4_early - ARMv4 without Thumb early abort handler
24 * v4t_late - ARMv4 with Thumb late abort handler
25 * v4t_early - ARMv4 with Thumb early abort handler
26 * v5tej_early - ARMv5 with Thumb and Java early abort handler
27 * xscale - ARMv5 with Thumb with Xscale extensions
28 * v6_early - ARMv6 generic early abort handler
29 * v7_early - ARMv7 generic early abort handler
31 #undef CPU_DABORT_HANDLER
34 #if defined(CONFIG_CPU_ARM610)
35 # ifdef CPU_DABORT_HANDLER
36 # define MULTI_DABORT 1
38 # define CPU_DABORT_HANDLER cpu_arm6_data_abort
42 #if defined(CONFIG_CPU_ARM710)
43 # ifdef CPU_DABORT_HANDLER
44 # define MULTI_DABORT 1
46 # define CPU_DABORT_HANDLER cpu_arm7_data_abort
50 #ifdef CONFIG_CPU_ABRT_LV4T
51 # ifdef CPU_DABORT_HANDLER
52 # define MULTI_DABORT 1
54 # define CPU_DABORT_HANDLER v4t_late_abort
58 #ifdef CONFIG_CPU_ABRT_EV4
59 # ifdef CPU_DABORT_HANDLER
60 # define MULTI_DABORT 1
62 # define CPU_DABORT_HANDLER v4_early_abort
66 #ifdef CONFIG_CPU_ABRT_EV4T
67 # ifdef CPU_DABORT_HANDLER
68 # define MULTI_DABORT 1
70 # define CPU_DABORT_HANDLER v4t_early_abort
74 #ifdef CONFIG_CPU_ABRT_EV5TJ
75 # ifdef CPU_DABORT_HANDLER
76 # define MULTI_DABORT 1
78 # define CPU_DABORT_HANDLER v5tj_early_abort
82 #ifdef CONFIG_CPU_ABRT_EV5T
83 # ifdef CPU_DABORT_HANDLER
84 # define MULTI_DABORT 1
86 # define CPU_DABORT_HANDLER v5t_early_abort
90 #ifdef CONFIG_CPU_ABRT_EV6
91 # ifdef CPU_DABORT_HANDLER
92 # define MULTI_DABORT 1
94 # define CPU_DABORT_HANDLER v6_early_abort
98 #ifdef CONFIG_CPU_ABRT_EV7
99 # ifdef CPU_DABORT_HANDLER
100 # define MULTI_DABORT 1
102 # define CPU_DABORT_HANDLER v7_early_abort
106 #ifndef CPU_DABORT_HANDLER
107 #error Unknown data abort handler type