diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 21:27:42 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 21:27:42 +0000 |
commit | 96b74a0221a7d552a4b3016af2b8bc87628fdab3 (patch) | |
tree | ea437c22a2fc58be13f8cd2d1c5af4721d83c7fc /target-i386/helper2.c | |
parent | c2ff060fd4c7389de2016442e3327538a66696bd (diff) | |
download | qemu-96b74a0221a7d552a4b3016af2b8bc87628fdab3.tar.gz qemu-96b74a0221a7d552a4b3016af2b8bc87628fdab3.tar.bz2 qemu-96b74a0221a7d552a4b3016af2b8bc87628fdab3.zip |
enable APIC by default
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1854 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper2.c')
-rw-r--r-- | target-i386/helper2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c index 5195fa3d3d..9d5d9b564e 100644 --- a/target-i386/helper2.c +++ b/target-i386/helper2.c @@ -110,6 +110,7 @@ CPUX86State *cpu_x86_init(void) env->pat = 0x0007040600070406ULL; env->cpuid_ext_features = CPUID_EXT_SSE3; env->cpuid_features |= CPUID_FXSR | CPUID_MMX | CPUID_SSE | CPUID_SSE2 | CPUID_PAE | CPUID_SEP; + env->cpuid_features |= CPUID_APIC; env->cpuid_xlevel = 0; { const char *model_id = "QEMU Virtual CPU version " QEMU_VERSION; @@ -125,7 +126,6 @@ CPUX86State *cpu_x86_init(void) } #ifdef TARGET_X86_64 /* currently not enabled for std i386 because not fully tested */ - env->cpuid_features |= CPUID_APIC; env->cpuid_ext2_features = (env->cpuid_features & 0x0183F3FF); env->cpuid_ext2_features |= CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX; env->cpuid_xlevel = 0x80000008; |