]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
MdeModulePkg/Core/PiSmmCore: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / PiSmmCore.c
index b5676f21bf26502bc3f7402265dbde39f2e63a14..cfa9922cbdb577ec93c599d4039975ce68c2b59e 100644 (file)
@@ -373,7 +373,7 @@ SmmReadyToLockHandler (
              );\r
 \r
   //\r
-  // Make sure SMM CPU I/O 2 Procol has been installed into the handle database\r
+  // Make sure SMM CPU I/O 2 Protocol has been installed into the handle database\r
   //\r
   Status = SmmLocateProtocol (&gEfiSmmCpuIo2ProtocolGuid, NULL, &Interface);\r
 \r
@@ -586,7 +586,7 @@ SmmEndOfS3ResumeHandler (
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
-  // Uninstall the protocol here because the comsumer just hook the\r
+  // Uninstall the protocol here because the consumer just hook the\r
   // installation event.\r
   //\r
   Status = SmmUninstallProtocolInterface (\r
@@ -673,7 +673,7 @@ SmmEntryPoint (
   SmmEntryPointMemoryManagementHook ();\r
 \r
   //\r
-  // If a legacy boot has occured, then make sure gSmmCorePrivate is not accessed\r
+  // If a legacy boot has occurred, then make sure gSmmCorePrivate is not accessed\r
   //\r
   InLegacyBoot = mInLegacyBoot;\r
   if (!InLegacyBoot) {\r
@@ -737,7 +737,7 @@ SmmEntryPoint (
   PlatformHookAfterSmmDispatch ();\r
 \r
   //\r
-  // If a legacy boot has occured, then make sure gSmmCorePrivate is not accessed\r
+  // If a legacy boot has occurred, then make sure gSmmCorePrivate is not accessed\r
   //\r
   if (!InLegacyBoot) {\r
     //\r
@@ -867,7 +867,7 @@ SmmMain (
   //\r
   // No need to initialize memory service.\r
   // It is done in constructor of PiSmmCoreMemoryAllocationLib(),\r
-  // so that the library linked with PiSmmCore can use AllocatePool() in constuctor.\r
+  // so that the library linked with PiSmmCore can use AllocatePool() in constructor.\r
   //\r
 \r
   SmramProfileInit ();\r