]> err.no Git - linux-2.6/blob - include/asm-sh/processor.h
sh: SH-5 also uses the ASID cache.
[linux-2.6] / include / asm-sh / processor.h
1 #ifndef __ASM_SH_PROCESSOR_H
2 #define __ASM_SH_PROCESSOR_H
3
4 /*
5  *  CPU type and hardware bug flags. Kept separately for each CPU.
6  *
7  *  Each one of these also needs a CONFIG_CPU_SUBTYPE_xxx entry
8  *  in arch/sh/mm/Kconfig, as well as an entry in arch/sh/kernel/setup.c
9  *  for parsing the subtype in get_cpu_subtype().
10  */
11 enum cpu_type {
12         /* SH-2 types */
13         CPU_SH7619,
14
15         /* SH-2A types */
16         CPU_SH7206,
17
18         /* SH-3 types */
19         CPU_SH7705, CPU_SH7706, CPU_SH7707,
20         CPU_SH7708, CPU_SH7708S, CPU_SH7708R,
21         CPU_SH7709, CPU_SH7709A, CPU_SH7710, CPU_SH7712,
22         CPU_SH7720, CPU_SH7729,
23
24         /* SH-4 types */
25         CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R,
26         CPU_SH7760, CPU_SH4_202, CPU_SH4_501,
27
28         /* SH-4A types */
29         CPU_SH7770, CPU_SH7780, CPU_SH7781, CPU_SH7785, CPU_SHX3,
30
31         /* SH4AL-DSP types */
32         CPU_SH7343, CPU_SH7722,
33
34         /* SH-5 types */
35         CPU_SH5_101, CPU_SH5_103,
36
37         /* Unknown subtype */
38         CPU_SH_NONE
39 };
40
41 #ifdef CONFIG_SUPERH32
42 # include "processor_32.h"
43 #else
44 # include "processor_64.h"
45 #endif
46
47 /* arch/sh/kernel/setup.c */
48 const char *get_cpu_subtype(struct sh_cpuinfo *c);
49
50 #endif /* __ASM_SH_PROCESSOR_H */