OvmfPkg/PlatformPei: Add memory above 4GB as tested
Since PlatformBootManagerLib do not run memory test to convert untested memory to tested. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**@file
|
||||
Xen Platform PEI support
|
||||
|
||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
|
||||
|
||||
This program and the accompanying materials
|
||||
@@ -189,11 +189,7 @@ XenPublishRamRegions (
|
||||
continue;
|
||||
}
|
||||
|
||||
if (Entry->BaseAddr >= BASE_4GB) {
|
||||
AddUntestedMemoryBaseSizeHob (Entry->BaseAddr, Entry->Length);
|
||||
} else {
|
||||
AddMemoryBaseSizeHob (Entry->BaseAddr, Entry->Length);
|
||||
}
|
||||
AddMemoryBaseSizeHob (Entry->BaseAddr, Entry->Length);
|
||||
|
||||
MtrrSetMemoryAttribute (Entry->BaseAddr, Entry->Length, CacheWriteBack);
|
||||
}
|
||||
|
Reference in New Issue
Block a user