]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
MdeModulePkg: Rename SmmEndOfS3ResumeProtocolGuid to EndOfS3ResumeGuid
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / PiSmmCore.c
index 4c1e3e7195241349b926d46d1fcc8a48b80d76fb..0b9c7958c75c0f27ae2980ad191571a62fd1cf2f 100644 (file)
@@ -81,7 +81,7 @@ SMM_CORE_SMI_HANDLERS  mSmmCoreSmiHandlers[] = {
   { SmmExitBootServicesHandler, &gEfiEventExitBootServicesGuid,      NULL, FALSE },\r
   { SmmReadyToBootHandler,      &gEfiEventReadyToBootGuid,           NULL, FALSE },\r
   { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,         NULL, TRUE },\r
   { SmmExitBootServicesHandler, &gEfiEventExitBootServicesGuid,      NULL, FALSE },\r
   { SmmReadyToBootHandler,      &gEfiEventReadyToBootGuid,           NULL, FALSE },\r
   { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,         NULL, TRUE },\r
-  { SmmEndOfS3ResumeHandler,    &gEdkiiSmmEndOfS3ResumeProtocolGuid, NULL, FALSE },\r
+  { SmmEndOfS3ResumeHandler,    &gEdkiiEndOfS3ResumeGuid,            NULL, FALSE },\r
   { NULL,                       NULL,                                NULL, FALSE }\r
 };\r
 \r
   { NULL,                       NULL,                                NULL, FALSE }\r
 };\r
 \r
@@ -384,7 +384,7 @@ SmmEndOfDxeHandler (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Software SMI handler that is called when the EndOfS3Resume event is trigged.\r
+  Software SMI handler that is called when the EndOfS3Resume signal is triggered.\r
   This function installs the SMM EndOfS3Resume Protocol so SMM Drivers are informed that\r
   S3 resume has finished.\r
 \r
   This function installs the SMM EndOfS3Resume Protocol so SMM Drivers are informed that\r
   S3 resume has finished.\r
 \r
@@ -417,19 +417,19 @@ SmmEndOfS3ResumeHandler (
   SmmHandle = NULL;\r
   Status = SmmInstallProtocolInterface (\r
              &SmmHandle,\r
   SmmHandle = NULL;\r
   Status = SmmInstallProtocolInterface (\r
              &SmmHandle,\r
-             &gEdkiiSmmEndOfS3ResumeProtocolGuid,\r
+             &gEdkiiEndOfS3ResumeGuid,\r
              EFI_NATIVE_INTERFACE,\r
              NULL\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
              EFI_NATIVE_INTERFACE,\r
              NULL\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
   //\r
-  // Uninstall the protocol here because the comsume just hook the\r
+  // Uninstall the protocol here because the comsumer just hook the\r
   // installation event.\r
   //\r
   Status = SmmUninstallProtocolInterface (\r
            SmmHandle,\r
   // installation event.\r
   //\r
   Status = SmmUninstallProtocolInterface (\r
            SmmHandle,\r
-           &gEdkiiSmmEndOfS3ResumeProtocolGuid,\r
+           &gEdkiiEndOfS3ResumeGuid,\r
            NULL\r
            );\r
   ASSERT_EFI_ERROR (Status);\r
            NULL\r
            );\r
   ASSERT_EFI_ERROR (Status);\r