--- qemu/roms/seabios/src/mptable.c 2018/04/24 18:27:46 1.1.1.3 +++ qemu/roms/seabios/src/mptable.c 2018/04/24 18:37:01 1.1.1.4 @@ -1,6 +1,6 @@ // MPTable generation (on emulators) // -// Copyright (C) 2008,2009 Kevin O'Connor +// Copyright (C) 2008-2010 Kevin O'Connor // Copyright (C) 2006 Fabrice Bellard // // This file may be distributed under the terms of the GNU LGPLv3 license. @@ -59,7 +59,7 @@ mptable_init(void) cpu->apicid = i; cpu->apicver = apic_version; /* cpu flags: enabled, bootstrap cpu */ - cpu->cpuflag = (i < CountCPUs) | ((i == 0) << 1); + cpu->cpuflag = ((icpusignature = cpuid_signature; cpu->featureflag = cpuid_features; cpu++;