提交 45d242b6 编写于 作者: B balrog

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
上级 71c3558e
......@@ -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;
......
......@@ -150,7 +150,7 @@ static x86_def_t x86_defs[] = {
.ext2_features = (PPRO_FEATURES & 0x0183F3FF) |
CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX,
.ext3_features = CPUID_EXT3_SVM,
.xlevel = 0x80000008,
.xlevel = 0x8000000A,
},
#endif
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册