From: Peter Dinda Date: Wed, 7 Jul 2010 18:12:30 +0000 (-0500) Subject: Working mptable support (Linux correctly recognizes 1,2,4,8,16,32 proc configs) X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=23ce84789706e19275390e4e0183cf4be3f1a045;p=palacios-OLD.git Working mptable support (Linux correctly recognizes 1,2,4,8,16,32 proc configs) --- diff --git a/palacios/src/palacios/vmm_mptable.c b/palacios/src/palacios/vmm_mptable.c index efef7ea..9f8713e 100644 --- a/palacios/src/palacios/vmm_mptable.c +++ b/palacios/src/palacios/vmm_mptable.c @@ -96,7 +96,7 @@ struct mp_floating_pointer { uint32_t signature; // "_MP_" uint32_t pointer; // gpa of MP table (0xfcc00) - uint8_t length; + uint8_t length; // length in 16 byte chunks (paragraphs) uint8_t spec_rev; // 0x4 uint8_t checksum; uint8_t mp_featurebyte[5]; // zero out to indicate mp config table @@ -118,6 +118,7 @@ struct mp_table_header { uint32_t lapic_addr; // apic address on all processors uint16_t extended_table_length; // zero by default uint8_t extended_table_checksum; // zero by default + uint8_t reserved; // zero by default // this is followed by entries of the various types indicated below } __attribute__((packed));