processor.h (d9c5841e22231e4e49fd0a1004164e6fce59b7a6) processor.h (a2a47c6c3d1a7c01da4464b3b7be93b924f874c1)
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;

--- 100 unchanged lines hidden (view full) ---

109 /* Physical processor id: */
110 u16 phys_proc_id;
111 /* Core id: */
112 u16 cpu_core_id;
113 /* Index into per_cpu list: */
114 u16 cpu_index;
115#endif
116 unsigned int x86_hyper_vendor;
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;

--- 100 unchanged lines hidden (view full) ---

109 /* Physical processor id: */
110 u16 phys_proc_id;
111 /* Core id: */
112 u16 cpu_core_id;
113 /* Index into per_cpu list: */
114 u16 cpu_index;
115#endif
116 unsigned int x86_hyper_vendor;
117 /* The layout of this field is hypervisor specific */
118 unsigned int x86_hyper_features;
117} __attribute__((__aligned__(SMP_CACHE_BYTES)));
118
119#define X86_VENDOR_INTEL 0
120#define X86_VENDOR_CYRIX 1
121#define X86_VENDOR_AMD 2
122#define X86_VENDOR_UMC 3
123#define X86_VENDOR_CENTAUR 5
124#define X86_VENDOR_TRANSMETA 7
125#define X86_VENDOR_NSC 8
126#define X86_VENDOR_NUM 9
127
128#define X86_VENDOR_UNKNOWN 0xff
129
130#define X86_HYPER_VENDOR_NONE 0
131#define X86_HYPER_VENDOR_VMWARE 1
119} __attribute__((__aligned__(SMP_CACHE_BYTES)));
120
121#define X86_VENDOR_INTEL 0
122#define X86_VENDOR_CYRIX 1
123#define X86_VENDOR_AMD 2
124#define X86_VENDOR_UMC 3
125#define X86_VENDOR_CENTAUR 5
126#define X86_VENDOR_TRANSMETA 7
127#define X86_VENDOR_NSC 8
128#define X86_VENDOR_NUM 9
129
130#define X86_VENDOR_UNKNOWN 0xff
131
132#define X86_HYPER_VENDOR_NONE 0
133#define X86_HYPER_VENDOR_VMWARE 1
134#define X86_HYPER_VENDOR_MSFT 2
132
133/*
134 * capabilities of CPUs
135 */
136extern struct cpuinfo_x86 boot_cpu_data;
137extern struct cpuinfo_x86 new_cpu_data;
138
139extern struct tss_struct doublefault_tss;

--- 918 unchanged lines hidden ---
135
136/*
137 * capabilities of CPUs
138 */
139extern struct cpuinfo_x86 boot_cpu_data;
140extern struct cpuinfo_x86 new_cpu_data;
141
142extern struct tss_struct doublefault_tss;

--- 918 unchanged lines hidden ---