xref: /qemu/target/i386/host-cpu.h (revision 98721058d6d50ef218e0c26e4f67c8ef96965859)
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 void host_cpu_max_instance_init(X86CPU *cpu);
16 bool host_cpu_realizefn(CPUState *cs, Error **errp);
17 
18 void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping);
19 
20 #endif /* HOST_CPU_H */
21