xref: /openbmc/qemu/target/i386/host-cpu.h (revision bfe0f6b02a4d76bcdc05f50e03667447f6069445)
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