aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-10-12 10:20:46 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-10-12 10:20:46 -0400
commitf23d61f32aba44bb8ce1b64826b7dc23e3f2f97d (patch)
tree4fbec79ed7269f7477c054afc76e22ab2ce495c2
parent59f02834f38c63be537f63a702c69b68af913bfa (diff)
downloadseabios-f23d61f32aba44bb8ce1b64826b7dc23e3f2f97d.tar.gz
Generate mptable unconditionally.
VMware ESX requires an mptable even for uniprocessor guests. Qemu pcbios commit 9869338791ca6f44e628b88e6335ffd66e1ed86b Signed-off-by: Gleb Natapov <gleb@redhat.com>
-rw-r--r--src/mptable.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mptable.c b/src/mptable.c
index 793968c6..3945d2e0 100644
--- a/src/mptable.c
+++ b/src/mptable.c
@@ -18,10 +18,6 @@ mptable_init(void)
dprintf(3, "init MPTable\n");
- if (MaxCountCPUs <= 1)
- // Building an mptable on uniprocessor machines confuses some OSes.
- return;
-
int length = (sizeof(struct mptable_config_s)
+ sizeof(struct mpt_cpu) * MaxCountCPUs
+ sizeof(struct mpt_bus)