summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/PiSmmCore.c')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/PiSmmCore.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
index b5676f21bf..cfa9922cbd 100644
--- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
+++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
@@ -373,7 +373,7 @@ SmmReadyToLockHandler (
);
//
- // Make sure SMM CPU I/O 2 Procol has been installed into the handle database
+ // Make sure SMM CPU I/O 2 Protocol has been installed into the handle database
//
Status = SmmLocateProtocol (&gEfiSmmCpuIo2ProtocolGuid, NULL, &Interface);
@@ -586,7 +586,7 @@ SmmEndOfS3ResumeHandler (
ASSERT_EFI_ERROR (Status);
//
- // Uninstall the protocol here because the comsumer just hook the
+ // Uninstall the protocol here because the consumer just hook the
// installation event.
//
Status = SmmUninstallProtocolInterface (
@@ -673,7 +673,7 @@ SmmEntryPoint (
SmmEntryPointMemoryManagementHook ();
//
- // If a legacy boot has occured, then make sure gSmmCorePrivate is not accessed
+ // If a legacy boot has occurred, then make sure gSmmCorePrivate is not accessed
//
InLegacyBoot = mInLegacyBoot;
if (!InLegacyBoot) {
@@ -737,7 +737,7 @@ SmmEntryPoint (
PlatformHookAfterSmmDispatch ();
//
- // If a legacy boot has occured, then make sure gSmmCorePrivate is not accessed
+ // If a legacy boot has occurred, then make sure gSmmCorePrivate is not accessed
//
if (!InLegacyBoot) {
//
@@ -867,7 +867,7 @@ SmmMain (
//
// No need to initialize memory service.
// It is done in constructor of PiSmmCoreMemoryAllocationLib(),
- // so that the library linked with PiSmmCore can use AllocatePool() in constuctor.
+ // so that the library linked with PiSmmCore can use AllocatePool() in constructor.
//
SmramProfileInit ();