Revision: 18234
http://sourceforge.net/p/edk2/code/18234
Author: agyemapr
Date: 2015-08-18 16:08:22 +0000 (Tue, 18 Aug 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Prince Agyeman <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18146
Modified Paths:
--------------
trunk/edk2/CorebootModulePkg/CbSupportPei/CbSupportPei.c
Modified: trunk/edk2/CorebootModulePkg/CbSupportPei/CbSupportPei.c
===================================================================
--- trunk/edk2/CorebootModulePkg/CbSupportPei/CbSupportPei.c 2015-08-18
05:46:50 UTC (rev 18233)
+++ trunk/edk2/CorebootModulePkg/CbSupportPei/CbSupportPei.c 2015-08-18
16:08:22 UTC (rev 18234)
@@ -186,12 +186,16 @@
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 |
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits