]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
MdeModulePkg/Core/Pei: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Dispatcher / Dispatcher.c
index a18ac47f617a80ab3c46bb97e9907a8a58b5735f..4c2eac1384e8e29b2578d3659b55beed3573a8c0 100644 (file)
@@ -257,7 +257,7 @@ PeiLoadFixAddressIsMemoryRangeAvailable (
 \r
   This function should only be invoked when Loading Module at Fixed Address(LMFA) feature is enabled. When feature is\r
   configured as Load Modules at Fix Absolute Address, this function is to validate the top address assigned by user. When\r
-  feature is configured as Load Modules at Fixed Offset, the functino is to find the top address which is TOLM-TSEG in general.\r
+  feature is configured as Load Modules at Fixed Offset, the function is to find the top address which is TOLM-TSEG in general.\r
   And also the function will re-install PEI memory.\r
 \r
   @param PrivateData         Pointer to the private data passed in from caller\r
@@ -604,7 +604,7 @@ PeiLoadFixAddressHook(
        );\r
     }\r
     //\r
-    // Delete CurrentHob by marking it as unused since the the memory range described by is rebuilt.\r
+    // Delete CurrentHob by marking it as unused since the memory range described by is rebuilt.\r
     //\r
     GET_HOB_TYPE (CurrentHob) = EFI_HOB_TYPE_UNUSED;\r
   }\r
@@ -751,7 +751,7 @@ PeiCheckAndSwitchStack (
 \r
     //\r
     // Calculate stack offset and heap offset between temporary memory and new permanent\r
-    // memory seperately.\r
+    // memory separately.\r
     //\r
     TopOfOldStack = (UINTN)SecCoreData->StackBase + SecCoreData->StackSize;\r
     TopOfNewStack = Private->PhysicalMemoryBegin + NewStackSize;\r
@@ -1229,7 +1229,7 @@ PeiDispatcher (
 \r
       //\r
       // Before walking through the next FV, we should set them to NULL/0 to\r
-      // start at the begining of the next FV.\r
+      // start at the beginning of the next FV.\r
       //\r
       Private->CurrentFileHandle = NULL;\r
       Private->CurrentPeimCount = 0;\r
@@ -1259,7 +1259,7 @@ PeiDispatcher (
 \r
   @param PrivateData     PeiCore's private data structure\r
   @param OldCoreData     Old data from SecCore\r
-                         NULL if being run in non-permament memory mode.\r
+                         NULL if being run in non-permanent memory mode.\r
   @param SecCoreData     Points to a data structure containing information about the PEI core's operating\r
                          environment, such as the size and location of temporary RAM, the stack location and\r
                          the BFV location.\r