audk/MdeModulePkg/Core/Dxe
Star Zeng 97e64288c8 MdeModulePkg/DxeCore: Fixed build error.
ARM toolchain raises the build error: "enumerated type mixed with
another type".

To fix the issue, typecase can be used like below.
 -    return EfiMaxMemoryType + 1;
 +    return (EFI_MEMORY_TYPE)(EfiMaxMemoryType + 1);

But to eliminate the confusion, update the return type of
GetProfileMemoryIndex() from EFI_MEMORY_TYPE to UINTN.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17535 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-29 04:04:01 +00:00
..
Dispatcher MdeModulePkg DxeCore: Fix VS2013 build failure. 2014-11-19 07:11:59 +00:00
DxeMain MdeModulePkg: Fixed DxeCore displaying incorrect FV Hob information 2015-01-27 01:12:46 +00:00
Event 1) Add type cast for better coding style. 2014-08-07 08:54:34 +00:00
FwVol MdeModulePkg DxeCore: Fix potential FV overflow of 4GB boundary on a 32-bit systems. 2014-12-17 00:39:51 +00:00
FwVolBlock DxeCore is designed to trust input data, so add comments to reminder caller to do check to follow PI specification when necessary. 2014-01-17 03:42:09 +00:00
Gcd MdeModulePkg: Update the short name for persistent memory type. 2015-05-19 07:22:14 +00:00
Hand Update code to support VS2013 tool chain. 2014-07-28 07:52:57 +00:00
Image MdeModulePkg DxeCore/PiSmmCore: Add UEFI memory and SMRAM profile support. 2014-11-12 03:27:48 +00:00
Library
Mem MdeModulePkg/DxeCore: Fixed build error. 2015-05-29 04:04:01 +00:00
Misc MdeModulePkg: Fix XCODE Link Issue in DxeCore 2014-09-09 02:35:41 +00:00
SectionExtraction MdeModulePkg DxeCore: Don't cache memory mapped IO FV. 2014-08-27 08:31:44 +00:00
DxeCore.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCoreExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00
DxeMain.h MdeModulePkg DxeCore: Remove @retval function comments for CoreUpdateMemoryAttributes(). 2014-12-12 03:19:47 +00:00
DxeMain.inf MdeModulePkg DxeCore/PiSmmCore: Add UEFI memory and SMRAM profile support. 2014-11-12 03:27:48 +00:00