audk/MdeModulePkg/Core
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
..
Dxe MdeModulePkg/DxeCore: Fixed build error. 2015-05-29 04:04:01 +00:00
DxeIplPeim MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Pei MdeModulePkg: Update implementation of PeiAllocatePages() to allow EfiReservedMemoryType. 2015-05-11 03:12:21 +00:00
PiSmmCore MdeModulePkg PiSmmCore: Care runtime code/data only for SMRAM profile. 2015-05-18 01:29:00 +00:00
RuntimeDxe MdeModulePkg: Roll back report status code change in RuntimeDriverSetVirtualAddressMap. 2015-04-10 01:37:41 +00:00