On 22 May 2012 11:35, Igor Mammedov <imamm...@redhat.com> wrote: > From: Igor Mammedov <niall...@gmail.com> > > MP initialization protocol differs between cpu families, and for P6 and > onward models it is up to CPU to decide if it will be BSP using this > protocol, so try to model this. However there is no point in implementing > MP initialization protocol in qemu. Thus first CPU is always marked as BSP.
This breaks compilation of the i386-linux-user target: target-i386/cpu.c: In function ‘x86_cpu_reset’: target-i386/cpu.c:1710: error: implicit declaration of function ‘apic_designate_bsp’ target-i386/cpu.c:1710: error: nested extern declaration of ‘apic_designate_bsp’ target-i386/cpu.c:1713: error: implicit declaration of function ‘cpu_get_apic_base’ target-i386/cpu.c:1713: error: nested extern declaration of ‘cpu_get_apic_base’ -- PMM