mirror of https://github.com/acidanthera/audk.git
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:
parent
f88e9c5bb9
commit
1d7258fa53
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue