CorebootModulePkg:Removing EFI_RESOURCE_ATTRIBUTE_TESTED

Remove EFI_RESOURCE_ATTRIBUTE_TESTED when reporting lower 640KB memory 
so that the coreboot header is not erased before being processed 
by CbParseMemoryInfo. This change is needed for compatibility 
with SVN revision 18146.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18234 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Scott Duplichan 2015-08-18 16:08:22 +00:00 committed by agyemapr
parent f88e9c5bb9
commit 1d7258fa53
1 changed files with 5 additions and 1 deletions

View File

@ -186,12 +186,16 @@ CbPeiEntryPoint (
ASSERT (LowMemorySize > 0);
//
// Report lower 640KB of RAM. Attribute EFI_RESOURCE_ATTRIBUTE_TESTED
// is intentionally omitted to prevent erasing of the coreboot header
// record before it is processed by CbParseMemoryInfo.
//
BuildResourceDescriptorHob (
EFI_RESOURCE_SYSTEM_MEMORY,
(
EFI_RESOURCE_ATTRIBUTE_PRESENT |
EFI_RESOURCE_ATTRIBUTE_INITIALIZED |
EFI_RESOURCE_ATTRIBUTE_TESTED |
EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE |
EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE |
EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE |