mirror_edk2/MdeModulePkg
Liming Gao ff0c6d6617 MdeModulePkg: Add Memory Capabilities for MMIO and Reserved Range
UEFI2.5 spec, GetMemoryMap(), says:
Attribute: Attributes of the memory region that describe the bit mask
of capabilities for that memory region, and not necessarily the current
settings for that memory region.
But, GetMemoryMap() implementation doesn't append memory capabilities
for MMIO and Reserved memory range. This will break UEFI2.5 Properties
Table feature, because Properties Table need return EFI_MEMORY_RO or
EFI_MEMORY_XP capabilities for OS.

This patch appends memory capabilities for those memory range.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17703 6f19259b-4bc3-4df7-8a09-765794883524
2015-06-25 03:29:11 +00:00
..
Application MdeModulePkg: Update memory profile for OEM reserved memory type. 2015-05-18 01:30:04 +00:00
Bus MdeModulePkg/NvmExpressDxe: Add SecurityStorageProtocol support 2015-06-16 01:04:47 +00:00
Core MdeModulePkg: Add Memory Capabilities for MMIO and Reserved Range 2015-06-25 03:29:11 +00:00
Include MdeModulePkg: Move SmmExitBootServices.h/SmmLegacyBoot.h/SmmReadyToBoot.h 2015-06-18 10:30:38 +00:00
Library MdeModulePkg: Enhance the comments for PiSmmCoreMemoryAllocationLib instance. 2015-06-19 01:58:09 +00:00
Logo MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Universal MdeModulePkg AcpiTableDxe: Non-Boolean comparisons should use a compare operator. 2015-06-19 12:11:01 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg PiSmmCore: Introduce SMM Exit Boot Services and Legacy Boot. 2015-06-18 09:26:41 +00:00
MdeModulePkg.dsc Add UEFI 2.5 properties table support in DXE core. 2015-06-05 12:08:12 +00:00
MdeModulePkg.uni MdeModulePkg: Add PcdMaxAuthVariableSize declaration. 2015-06-10 07:51:16 +00:00
MdeModulePkgExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:55:48 +00:00