]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Introduce x86_cpuid_version_set_stepping()
authorAndreas Färber <afaerber@suse.de>
Fri, 17 Feb 2012 16:46:03 +0000 (17:46 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 15:06:58 +0000 (09:06 -0600)
commit38c3dc462297e2daa3a4a2c61ea9cbf50651f62a
treef9603e44852f17824d2535ee675441a6c7210456
parentb0704cbd3f261003cac243ab88eaad42210a1b4d
target-i386: Introduce x86_cpuid_version_set_stepping()

Move the logic for setting the stepping field into a helper function.

To make the function self-contained and to prepare for future
unordered/multiple uses, mask out any previous stepping values first.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpuid.c