ia64/xen-unstable

view xen/arch/x86/cpu/cpu.h @ 19835:edfdeb150f27

Fix buildsystem to detect udev > version 124

udev removed the udevinfo symlink from versions higher than 123 and
xen's build-system could not detect if udev is in place and has the
required version.

Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:02:37 2009 +0100 (2009-06-25)
parents 649cd37aa1ab
children
line source
2 struct cpu_model_info {
3 int vendor;
4 int family;
5 char *model_names[16];
6 };
8 /* attempt to consolidate cpu attributes */
9 struct cpu_dev {
10 char * c_vendor;
12 /* some have two possibilities for cpuid string */
13 char * c_ident[2];
15 struct cpu_model_info c_models[4];
17 void (*c_init)(struct cpuinfo_x86 * c);
18 void (*c_identify)(struct cpuinfo_x86 * c);
19 unsigned int (*c_size_cache)(struct cpuinfo_x86 * c, unsigned int size);
20 };
22 extern struct cpu_dev * cpu_devs [X86_VENDOR_NUM];
24 extern int get_model_name(struct cpuinfo_x86 *c);
25 extern void display_cacheinfo(struct cpuinfo_x86 *c);
27 extern void generic_identify(struct cpuinfo_x86 * c);
29 extern void early_intel_workaround(struct cpuinfo_x86 *c);