]> xenbits.xen.org Git - xenclient/xen.git/commitdiff
patch change_vga_whole_cacheattr
authorVincent Hanquez <vincent@snarc.org>
Wed, 17 Dec 2008 17:32:01 +0000 (17:32 +0000)
committerVincent Hanquez <vincent@snarc.org>
Wed, 17 Dec 2008 17:32:01 +0000 (17:32 +0000)
tools/firmware/hvmloader/cacheattr.c

index 5dc2c7f8077e1b206a274897771b6f6faf92405f..344533b4c51b2cb9d51f26d9597fe57a8d46d851 100644 (file)
@@ -73,8 +73,7 @@ void cacheattr_init(void)
         wrmsr(MSR_MTRRfix64K_00000, content);
         wrmsr(MSR_MTRRfix16K_80000, content);
         /* 0xa0000-0xbffff: Write Combining (WC) */
-        if ( mtrr_cap & (1u << 10) ) /* WC supported? */
-            content = 0x0101010101010101ull;
+        content = 0x0000000000000000ull;
         wrmsr(MSR_MTRRfix16K_A0000, content);
         /* 0xc0000-0xfffff: Write Back (WB) */
         content = 0x0606060606060606ull;