Page 1 of 1

how to open x2apic under bochs 2.6

Posted: Thu Dec 19, 2013 4:06 am
by miaowei
I compiled from source code v2.6 under that 'x2apic' is included by default,and i use the default pre-defined cpu:
cpu: model = core2_penryn_t9600 ...
The problem is that x2apic is not supported, i have tried other cpu parameters
------------------------------
# corei5_lynnfield_750 Intel(R) Core(TM) i5 750 (Lynnfield)
# corei5_arrandale_m520 Intel(R) Core(TM) i5 M 520 (Arrandale)
# corei7_sandy_bridge_2600k Intel(R) Core(TM) i7-2600K (Sandy Bridge)
# corei7_ivy_bridge_3770k Intel(R) Core(TM) i7-3770K CPU (Ivy Bridge)
-----------------------------
They done't support xapic, let alone x2apic.

I also tried this way:turn off model option, uncomment the following lines:
------------------------------
#cpuid: x86_64=1, mmx=1, sep=1, sse=sse4_2, apic=x2apic, aes=1, movbe=1, xsave=1
#cpuid: family=6, model=0x1a, stepping=5
------------------------------
But it doesn't work, either.
Any one familer with smp under bochs, i want to test x2apic.
Thanks!

Re: how to open x2apic under bochs 2.6

Posted: Thu Dec 19, 2013 9:00 am
by miaowei
OK,the last approach works at last.
But i don't know why it didn't work when i first had the first try.