]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
updated to use the term “temporary memory” but not CAR
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Dispatcher / Dispatcher.c
index 9caa890082be0d8d568f913e4d08bbb8c5f279ce..f64003db38d925c0a2ed8b8ebbcddb53d3f46203 100644 (file)
@@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #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
@@ -442,7 +442,7 @@ PeiDispatcher (
 \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
@@ -453,11 +453,11 @@ PeiDispatcher (
                      && (*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
@@ -498,7 +498,7 @@ PeiDispatcher (
               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
@@ -529,7 +529,7 @@ PeiDispatcher (
                 // 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