projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f0283
)
Generate mptable unconditionally.
author
Kevin O'Connor
<kevin@koconnor.net>
Mon, 12 Oct 2009 14:20:46 +0000
(10:20 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Mon, 12 Oct 2009 14:20:46 +0000
(10:20 -0400)
VMware ESX requires an mptable even for uniprocessor guests.
Qemu pcbios commit
9869338791ca6f44e628b88e6335ffd66e1ed86b
Signed-off-by: Gleb Natapov <gleb@redhat.com>
src/mptable.c
patch
|
blob
|
history
diff --git
a/src/mptable.c
b/src/mptable.c
index 793968c6f05ac5bc4838299c9245bf4b9a33e3b0..3945d2e0185b357db9b2927bc52ecc15fc2a7f83 100644
(file)
--- 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)