Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cpu_type.h
Go to the documentation of this file.
1 #ifndef __ASM_CPU_TYPE_H
2 #define __ASM_CPU_TYPE_H
3 
4 /*
5  * Sparc (general) CPU types
6  */
7 enum sparc_cpu {
8  sun4m = 0x00,
9  sun4d = 0x01,
10  sun4e = 0x02,
11  sun4u = 0x03, /* V8 ploos ploos */
12  sun_unknown = 0x04,
13  ap1000 = 0x05, /* almost a sun4m */
14  sparc_leon = 0x06, /* Leon SoC */
15 };
16 
17 #ifdef CONFIG_SPARC32
18 extern enum sparc_cpu sparc_cpu_model;
19 
20 #define SUN4M_NCPUS 4 /* Architectural limit of sun4m. */
21 
22 #else
23 
24 #define sparc_cpu_model sun4u
25 
26 #endif
27 
28 #endif /* __ASM_CPU_TYPE_H */