From 98f378a7be1273ee733326e8d031a0fe919f814e Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 24 Sep 2013 18:23:26 +0000 Subject: 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 Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14716 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/ResetVector/Bin/ResetVector.x64.raw | Bin 628 -> 628 bytes OvmfPkg/ResetVector/Ia32/PageTables64.asm | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'OvmfPkg/ResetVector') diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw index ff08363600..237d08a293 100644 Binary files a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw and b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw differ diff --git a/OvmfPkg/ResetVector/Ia32/PageTables64.asm b/OvmfPkg/ResetVector/Ia32/PageTables64.asm index 5ebf211fbc..8280e8f140 100644 --- a/OvmfPkg/ResetVector/Ia32/PageTables64.asm +++ b/OvmfPkg/ResetVector/Ia32/PageTables64.asm @@ -28,14 +28,12 @@ BITS 32 %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) -- cgit v1.2.3