summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e75ac0c)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2141
6f19259b-4bc3-4df7-8a09-
765794883524
Hob.HandoffInformationTable->EfiFreeMemoryBottom) {\r
DEBUG ((EFI_D_ERROR, "AllocatePages failed: No 0x%x Pages is available.\n", Pages));\r
DEBUG ((EFI_D_ERROR, "There is only left 0x%x pages memory resource to be allocated.\n", \\r
Hob.HandoffInformationTable->EfiFreeMemoryBottom) {\r
DEBUG ((EFI_D_ERROR, "AllocatePages failed: No 0x%x Pages is available.\n", Pages));\r
DEBUG ((EFI_D_ERROR, "There is only left 0x%x pages memory resource to be allocated.\n", \\r
- (Hob.HandoffInformationTable->EfiFreeMemoryTop - Hob.HandoffInformationTable->EfiFreeMemoryBottom)/EFI_PAGE_SIZE));\r
+ EFI_SIZE_TO_PAGES ((UINTN) (Hob.HandoffInformationTable->EfiFreeMemoryTop - Hob.HandoffInformationTable->EfiFreeMemoryBottom))));\r
return EFI_OUT_OF_RESOURCES;\r
} else {\r
//\r
return EFI_OUT_OF_RESOURCES;\r
} else {\r
//\r