MdeModulePkg/Core/PiSmmCore: Fix various typos

Fix various typos in comments and documentation.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-18-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:07:30 +01:00
committed by mergify[bot]
parent 93b8ed68dd
commit 4be497df49
14 changed files with 53 additions and 53 deletions

View File

@@ -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 ();