diff options
author | bellard | 2005-11-23 22:01:33 +0100 |
---|---|---|
committer | bellard | 2005-11-23 22:01:33 +0100 |
commit | ad49ff9de3f15d1b91416ecd005cfae16aba0026 (patch) | |
tree | c81b0cf729ba3269022e71b1547730ff3619b9fc /hw/pc.c | |
parent | better SMP scheduling (diff) | |
download | qemu-ad49ff9de3f15d1b91416ecd005cfae16aba0026.tar.gz qemu-ad49ff9de3f15d1b91416ecd005cfae16aba0026.tar.xz qemu-ad49ff9de3f15d1b91416ecd005cfae16aba0026.zip |
use HF_HALTED bit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1650 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -594,7 +594,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device, for(i = 0; i < smp_cpus; i++) { env = cpu_init(); if (i != 0) - env->cpu_halted = 1; + env->hflags |= HF_HALTED_MASK; if (smp_cpus > 1) { /* XXX: enable it in all cases */ env->cpuid_features |= CPUID_APIC; |