Forward port bochs smp changes; rename smpdetect.c to smp.c.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jun 2009 13:10:28 +0000 (09:10 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 21 Jun 2009 13:10:28 +0000 (09:10 -0400)
commite97ca7bd12d1ad394620d606747e423ee7cfd9ce
treee9b3860d787c259cd19bba01770ce4b17a493966
parent09880dada98c075b98e68b08cb3ce8ffbf605faf
Forward port bochs smp changes; rename smpdetect.c to smp.c.

Rename smpdetect.c to smp.c - the code does more than just cpu detection.
Don't probe cpu count on demand - schedule it during post.
Add logic to run wrmsr on all cpus.
Don't make mtrr setup specific to kvm - do it on all machines that
    have mtrr and msrs.
Detect cpu signature/features automatically in mptable.
Also, make sure acpi structures are packed.
Makefile
src/acpi.c
src/mptable.c
src/mptable.h
src/mtrr.c
src/post.c
src/smbios.c
src/smp.c [new file with mode: 0644]
src/smpdetect.c [deleted file]
src/util.h