Blame view
arch/x86/kernel/cpu/cpu.h
1009 Bytes
dcd32b6a1 x86: make 64-bit ... |
1 |
#ifndef ARCH_X86_CPU_H |
dcd32b6a1 x86: make 64-bit ... |
2 |
#define ARCH_X86_CPU_H |
1da177e4c Linux-2.6.12-rc2 |
3 4 |
struct cpu_model_info { |
f2362e6f1 x86: cpu/cpu.h cl... |
5 6 7 |
int vendor; int family; const char *model_names[16]; |
1da177e4c Linux-2.6.12-rc2 |
8 9 10 11 |
}; /* attempt to consolidate cpu attributes */ struct cpu_dev { |
f2362e6f1 x86: cpu/cpu.h cl... |
12 |
const char *c_vendor; |
1da177e4c Linux-2.6.12-rc2 |
13 14 |
/* some have two possibilities for cpuid string */ |
f2362e6f1 x86: cpu/cpu.h cl... |
15 |
const char *c_ident[2]; |
1da177e4c Linux-2.6.12-rc2 |
16 17 |
struct cpu_model_info c_models[4]; |
f2362e6f1 x86: cpu/cpu.h cl... |
18 |
void (*c_early_init)(struct cpuinfo_x86 *); |
a110b5ec7 x86: Add a BSP cp... |
19 |
void (*c_bsp_init)(struct cpuinfo_x86 *); |
f2362e6f1 x86: cpu/cpu.h cl... |
20 21 22 23 |
void (*c_init)(struct cpuinfo_x86 *); void (*c_identify)(struct cpuinfo_x86 *); unsigned int (*c_size_cache)(struct cpuinfo_x86 *, unsigned int); int c_x86_vendor; |
1da177e4c Linux-2.6.12-rc2 |
24 |
}; |
10a434fcb x86: remove cpu_v... |
25 |
#define cpu_dev_register(cpu_devX) \ |
02dde8b45 x86: move various... |
26 |
static const struct cpu_dev *const __cpu_dev_##cpu_devX __used \ |
10a434fcb x86: remove cpu_v... |
27 28 |
__attribute__((__section__(".x86_cpu_dev.init"))) = \ &cpu_devX; |
1da177e4c Linux-2.6.12-rc2 |
29 |
|
02dde8b45 x86: move various... |
30 31 |
extern const struct cpu_dev *const __x86_cpu_dev_start[], *const __x86_cpu_dev_end[]; |
03ae5768b x86: use ELF sect... |
32 |
|
c2b9ff24a x86, cpu: Re-run ... |
33 |
extern void get_cpu_cap(struct cpuinfo_x86 *c); |
27c13ecec x86, cpu: mv disp... |
34 |
extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); |
d059f24a9 x86, CPU: Drop su... |
35 |
#endif /* ARCH_X86_CPU_H */ |