Only perform SMP setup on QEMU.
commit5dbf1732940f94771e0b3c45c0960940276bc263
authorKevin O'Connor <kevin@koconnor.net>
Sun, 10 Feb 2013 04:58:55 +0000 (9 23:58 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 13 Feb 2013 02:04:51 +0000 (12 21:04 -0500)
tree2db969895c3f340e10e96e5b82fd07e58f7c5292
parent4edda086810ab75ace9efd3399e5b2810669429b
Only perform SMP setup on QEMU.

The SMP setup initializes MTRRs on extra CPUs and populates the
CountCPUs variable.  On coreboot the CPUs should already be
initialized and the CountCPUs variable isn't used anywhere.

There have also been reports of the SIPI does not work on some real
machines.  So, it's best not to invoke one if it isn't needed.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/smp.c