\r
@param MemoryType Memory type.\r
\r
- @return EFI memory type as profile memory index.\r
+ @return Profile memory index.\r
\r
**/\r
-EFI_MEMORY_TYPE\r
+UINTN\r
GetProfileMemoryIndex (\r
IN EFI_MEMORY_TYPE MemoryType\r
)\r
MEMORY_PROFILE_CONTEXT_DATA *ContextData;\r
MEMORY_PROFILE_DRIVER_INFO_DATA *DriverInfoData;\r
MEMORY_PROFILE_ALLOC_INFO_DATA *AllocInfoData;\r
- EFI_MEMORY_TYPE ProfileMemoryIndex;\r
+ UINTN ProfileMemoryIndex;\r
\r
AllocInfoData = NULL;\r
\r
LIST_ENTRY *DriverInfoList;\r
MEMORY_PROFILE_DRIVER_INFO_DATA *ThisDriverInfoData;\r
MEMORY_PROFILE_ALLOC_INFO_DATA *AllocInfoData;\r
- EFI_MEMORY_TYPE ProfileMemoryIndex;\r
+ UINTN ProfileMemoryIndex;\r
\r
ContextData = GetMemoryProfileContext ();\r
if (ContextData == NULL) {\r