aboutsummaryrefslogtreecommitdiff
path: root/target/i386/host-cpu.h
blob: ee653242254882b65f3fbdd4f8ff82a00617e94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * x86 host CPU type initialization and host CPU functions
 *
 * Copyright 2021 SUSE LLC
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#ifndef HOST_CPU_H
#define HOST_CPU_H

uint32_t host_cpu_phys_bits(void);
void host_cpu_instance_init(X86CPU *cpu);
bool host_cpu_realizefn(CPUState *cs, Error **errp);

void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping);

bool is_host_cpu_intel(void);
#endif /* HOST_CPU_H */