Revision: 14716
          http://sourceforge.net/p/edk2/code/14716
Author:   jljusten
Date:     2013-09-24 18:23:26 +0000 (Tue, 24 Sep 2013)
Log Message:
-----------
OvmfPkg/ResetVector: enable caching in initial page tables

In UEFI X64 we use other mechanisms to disable caching.
(CD/NW in CR0 and MTRRs.)

This fixes a slow boot issue with SVM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>

Modified Paths:
--------------
    trunk/edk2/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw
    trunk/edk2/OvmfPkg/ResetVector/Ia32/PageTables64.asm

Modified: trunk/edk2/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw
===================================================================
--- trunk/edk2/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw      2013-09-24 
18:23:20 UTC (rev 14715)
+++ trunk/edk2/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw      2013-09-24 
18:23:26 UTC (rev 14716)
@@ -1,2 +1,2 @@
-\x90\x90\x90\x901\xC0-+\x90\x90\x90\x901\xC0- 
\xBFAP\xEBf\x89\xC4\xEB\xEB\xF9\xEB\x8A\xE9\xD8\xFD\xFF\xFF\xE9$\xFE\xFF\xFF\xE9\xE4\xFE\xFF\xFF\xB8\xFF\xFF\xFF\xFFH!\xC6H!\xC5H!\xC4H\x89\xE0\xFF搐\x90\x90\x90\x90\x90\x90\x90\x90\x90\xEBÐ\x90\x90\x90\x90\x90\
 No newline at end of file

Modified: trunk/edk2/OvmfPkg/ResetVector/Ia32/PageTables64.asm
===================================================================
--- trunk/edk2/OvmfPkg/ResetVector/Ia32/PageTables64.asm        2013-09-24 
18:23:20 UTC (rev 14715)
+++ trunk/edk2/OvmfPkg/ResetVector/Ia32/PageTables64.asm        2013-09-24 
18:23:26 UTC (rev 14716)
@@ -28,14 +28,12 @@
 %define PAGE_2M_PAT          0x01000
 
 %define PAGE_2M_PDE_ATTR (PAGE_2M_MBO + \
-                          PAGE_CACHE_DISABLE + \
                           PAGE_ACCESSED + \
                           PAGE_DIRTY + \
                           PAGE_READ_WRITE + \
                           PAGE_PRESENT)
 
-%define PAGE_PDP_ATTR (PAGE_CACHE_DISABLE + \
-                       PAGE_ACCESSED + \
+%define PAGE_PDP_ATTR (PAGE_ACCESSED + \
                        PAGE_READ_WRITE + \
                        PAGE_PRESENT)
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to