diff options
author | Laszlo Ersek <lersek@redhat.com> | 2013-09-24 18:23:26 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-09-24 18:23:26 +0000 |
commit | 98f378a7be1273ee733326e8d031a0fe919f814e (patch) | |
tree | 99a7c399766fd83054c9d6a4274d52719e923383 /OvmfPkg/ResetVector/Ia32 | |
parent | c90e37b503d4e79dbebbd49f9bfc3c6c14ffb67d (diff) | |
download | edk2-platforms-98f378a7be1273ee733326e8d031a0fe919f814e.tar.xz |
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 <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14716 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/ResetVector/Ia32')
-rw-r--r-- | OvmfPkg/ResetVector/Ia32/PageTables64.asm | 4 |
1 files changed, 1 insertions, 3 deletions
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)
|