1 /* attempt to consolidate cpu attributes */
2 struct cpu_dev {
3 	char	c_vendor[8];
4 	char	c_ident[13];
5 
6 	void		(*c_early_init)(struct cpuinfo_x86 *c);
7 	void		(*c_init)(struct cpuinfo_x86 * c);
8 };
9 
10 extern const struct cpu_dev *cpu_devs[X86_VENDOR_NUM];
11 
12 extern bool_t opt_arat;
13 extern unsigned int opt_cpuid_mask_ecx, opt_cpuid_mask_edx;
14 extern unsigned int opt_cpuid_mask_xsave_eax;
15 extern unsigned int opt_cpuid_mask_ext_ecx, opt_cpuid_mask_ext_edx;
16 
17 extern int get_model_name(struct cpuinfo_x86 *c);
18 extern void display_cacheinfo(struct cpuinfo_x86 *c);
19