audk/MdeModulePkg/Core/Dxe/Mem
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
..
Imem.h MdeModulePkg DxeCore: Add OEM reserved memory type support. 2015-05-18 01:28:24 +00:00
MemData.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
MemoryProfileRecord.c MdeModulePkg/DxeCore: Fixed build error. 2015-05-29 04:04:01 +00:00
Page.c MdeModulePkg DxeCore: Add OEM reserved memory type support. 2015-05-18 01:28:24 +00:00
Pool.c MdeModulePkg DxeCore: Add OEM reserved memory type support. 2015-05-18 01:28:24 +00:00