diff options
Diffstat (limited to 'arch/x86/kernel/cpu/cpu.h')
| -rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 8bacc7826fb..4041c24ae7d 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h @@ -20,10 +20,19 @@ struct cpu_dev {  	void		(*c_bsp_init)(struct cpuinfo_x86 *);  	void		(*c_init)(struct cpuinfo_x86 *);  	void		(*c_identify)(struct cpuinfo_x86 *); +	void		(*c_detect_tlb)(struct cpuinfo_x86 *);  	unsigned int	(*c_size_cache)(struct cpuinfo_x86 *, unsigned int);  	int		c_x86_vendor;  }; +struct _tlb_table { +	unsigned char descriptor; +	char tlb_type; +	unsigned int entries; +	/* unsigned int ways; */ +	char info[128]; +}; +  #define cpu_dev_register(cpu_devX) \  	static const struct cpu_dev *const __cpu_dev_##cpu_devX __used \  	__attribute__((__section__(".x86_cpu_dev.init"))) = \  |