Should use MaxCarTop but *not* CarTop to computer the usage of stack

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4259 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2007-11-01 06:19:38 +00:00
parent a85e7bfcd8
commit 61f21f400d
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ Returns:
DEBUG ((EFI_D_INFO, "Total Cache as RAM: %d bytes.\n", OldCoreData->SizeOfCacheAsRam));
DEBUG ((EFI_D_INFO, " CAR stack ever used: %d bytes.\n",
((UINTN) OldCoreData->TopOfCarHeap - (UINTN) StackPointer)
((UINTN) OldCoreData->MaxTopOfCarHeap - (UINTN) StackPointer)
));
DEBUG ((EFI_D_INFO, " CAR heap used: %d bytes.\n",
((UINTN) OldCoreData->HobList.HandoffInformationTable->EfiFreeMemoryBottom -