diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-01 06:19:38 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-01 06:19:38 +0000 |
commit | 61f21f400d4664ff5e8008a06447227fb738cc04 (patch) | |
tree | 0436eb506bc197be78cf8ee2f4d85ec4336cf9f7 /MdeModulePkg | |
parent | a85e7bfcd84b46cfbf5d945dcd1f54fe883ab37d (diff) | |
download | edk2-61f21f400d4664ff5e8008a06447227fb738cc04.zip edk2-61f21f400d4664ff5e8008a06447227fb738cc04.tar.gz edk2-61f21f400d4664ff5e8008a06447227fb738cc04.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c index 96cc22b..5c6efb9 100644 --- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c +++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c @@ -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 -
|