aboutsummaryrefslogtreecommitdiff
path: root/target-i386/helper.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-24 13:36:00 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-24 13:36:00 +0000
commit45d242b65b1636504c6f8dadad55a83a92c6f323 (patch)
treee6eb21938d6b501cc04c24fc44dc6a16cb471932 /target-i386/helper.c
parent71c3558ed2d048c27585732fe4fd2aa17566f160 (diff)
downloadqemu-45d242b65b1636504c6f8dadad55a83a92c6f323.zip
qemu-45d242b65b1636504c6f8dadad55a83a92c6f323.tar.gz
qemu-45d242b65b1636504c6f8dadad55a83a92c6f323.tar.bz2
SVM enabled processor should provide cpuid Fn8000_000A (Bernhard Kauer).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3844 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r--target-i386/helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index bad3f7c..3c7424f 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1751,6 +1751,12 @@ void helper_cpuid(void)
ECX = 0;
EDX = 0;
break;
+ case 0x8000000A:
+ EAX = 0x00000001;
+ EBX = 0;
+ ECX = 0;
+ EDX = 0;
+ break;
default:
/* reserved values: zero */
EAX = 0;