master
h 20 lines 534 Bytes
Raw
1 /*
2 * x86 host CPU type initialization and host CPU functions
3 *
4 * Copyright 2021 SUSE LLC
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10 #ifndef HOST_CPU_H
11 #define HOST_CPU_H
12
13 uint32_t host_cpu_phys_bits(void);
14 void host_cpu_instance_init(X86CPU *cpu);
15 bool host_cpu_realizefn(CPUState *cs, Error **errp);
16
17 void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping);
18
19 bool is_host_cpu_intel(void);
20 #endif /* HOST_CPU_H */