#include "PeiMain.h"\r
\r
///\r
-/// CAR is filled with this initial value during SEC phase\r
+/// temporary memory is filled with this initial value during SEC phase\r
///\r
#define INIT_CAR_VALUE 0x5AA55AA5\r
\r
\r
if (Private->SwitchStackSignal) {\r
//\r
- // Before switch stack from CAR to permenent memory, caculate the heap and stack\r
+ // Before switch stack from temporary memory to permenent memory, caculate the heap and stack\r
// usage in temporary memory for debuging.\r
//\r
DEBUG_CODE_BEGIN ();\r
&& (*StackPointer == INIT_CAR_VALUE);\r
StackPointer ++);\r
\r
- DEBUG ((EFI_D_INFO, "Total Cache as RAM: %d bytes.\n", (UINT32)SecCoreData->TemporaryRamSize));\r
- DEBUG ((EFI_D_INFO, " CAR stack ever used: %d bytes.\n",\r
+ DEBUG ((EFI_D_INFO, "Total temporary memory: %d bytes.\n", (UINT32)SecCoreData->TemporaryRamSize));\r
+ DEBUG ((EFI_D_INFO, " temporary memory stack ever used: %d bytes.\n",\r
(SecCoreData->StackSize - ((UINTN) StackPointer - (UINTN)SecCoreData->StackBase))\r
));\r
- DEBUG ((EFI_D_INFO, " CAR heap used: %d bytes.\n",\r
+ DEBUG ((EFI_D_INFO, " temporary memory heap used: %d bytes.\n",\r
((UINTN) Private->HobList.HandoffInformationTable->EfiFreeMemoryBottom -\r
(UINTN) Private->HobList.Raw)\r
));\r
NewPermenentMemoryBase = Private->PhysicalMemoryBegin + StackGap;\r
\r
//\r
- // Caculate stack offset and heap offset between CAR and new permement \r
+ // Caculate stack offset and heap offset between temporary memory and new permement \r
// memory seperately.\r
//\r
StackOffset = (UINTN) NewPermenentMemoryBase - (UINTN) SecCoreData->StackBase;\r
// Temporary Ram support Ppi is provided by platform, it will copy \r
// temporary memory to permenent memory and do stack switching.\r
// After invoken temporary Ram support, following code's stack is in \r
- // memory but not in CAR.\r
+ // memory but not in temporary memory.\r
//\r
TemporaryRamSupportPpi->TemporaryRamMigration (\r
(CONST EFI_PEI_SERVICES **) PeiServices,\r