Revision 96b74a02 target-i386/helper2.c
b/target-i386/helper2.c | ||
---|---|---|
110 | 110 |
env->pat = 0x0007040600070406ULL; |
111 | 111 |
env->cpuid_ext_features = CPUID_EXT_SSE3; |
112 | 112 |
env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2 | CPUID_PAE | CPUID_SEP; |
113 |
env->cpuid_features |= CPUID_APIC; |
|
113 | 114 |
env->cpuid_xlevel = 0; |
114 | 115 |
{ |
115 | 116 |
const char *model_id = "QEMU Virtual CPU version " QEMU_VERSION; |
... | ... | |
125 | 126 |
} |
126 | 127 |
#ifdef TARGET_X86_64 |
127 | 128 |
/* currently not enabled for std i386 because not fully tested */ |
128 |
env->cpuid_features |= CPUID_APIC; |
|
129 | 129 |
env->cpuid_ext2_features = (env->cpuid_features & 0x0183F3FF); |
130 | 130 |
env->cpuid_ext2_features |= CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX; |
131 | 131 |
env->cpuid_xlevel = 0x80000008; |
Also available in: Unified diff