aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2017-03-09 15:12:10 -0300
committerEduardo Habkost <ehabkost@redhat.com>2017-03-10 15:01:08 -0300
commit20271d484069f154fb262507e63adc3a37e885d2 (patch)
treecc1b742e57a9bf6b6d7b4b23e6299576273e1263 /target/i386/cpu.h
parentdd4d2578215cd380f40a38028a9904e15b135ef3 (diff)
downloadqemu-20271d484069f154fb262507e63adc3a37e885d2.zip
qemu-20271d484069f154fb262507e63adc3a37e885d2.tar.gz
qemu-20271d484069f154fb262507e63adc3a37e885d2.tar.bz2
i386: host_vendor_fms() helper function
Helper function for code that needs to check the host CPU vendor/family/model/stepping values. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20170309181212.18864-2-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r--target/i386/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index ac2ad6d..385dcc8 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1436,6 +1436,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
void cpu_clear_apic_feature(CPUX86State *env);
void host_cpuid(uint32_t function, uint32_t count,
uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx);
+void host_vendor_fms(char *vendor, int *family, int *model, int *stepping);
/* helper.c */
int x86_cpu_handle_mmu_fault(CPUState *cpu, vaddr addr,