From: Marcelo Tosatti Date: Fri, 29 Jul 2011 22:40:51 +0000 (-0300) Subject: seabios: increase smp_mtrr array size X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=commitdiff_plain;h=bbce6d63c18b85710b1e567a3035914c5ac13ccf seabios: increase smp_mtrr array size Windows Server 2008 checked build complains about lack of consistency between MTRR MSRs in SMP guests. Problem is the smp_mtrr array is not large enough to hold all MSRs (31 entries with current qemu/kvm implementations). Increase it to 32. Signed-off-by: Marcelo Tosatti --- diff --git a/src/smp.c b/src/smp.c index 40f5451..2317d36 100644 --- a/src/smp.c +++ b/src/smp.c @@ -17,7 +17,7 @@ #define APIC_ENABLED 0x0100 -struct { u32 ecx, eax, edx; } smp_mtrr[16] VAR16VISIBLE; +struct { u32 ecx, eax, edx; } smp_mtrr[32] VAR16VISIBLE; u32 smp_mtrr_count VAR16VISIBLE; void