]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c
UefiCpuPkg: CpuIo2Smm: Move CpuIo2Smm driver to consume gMmst
[mirror_edk2.git] / UefiCpuPkg / CpuIo2Smm / CpuIo2Smm.c
index b840d3e10cae3455f327bc5619abad434bcceb93..c0a2baecee03267a8cf518c5e0d73ab0d2abe5f2 100644 (file)
@@ -390,12 +390,12 @@ SmmCpuIo2Initialize (
   //\r
   // Copy the SMM CPU I/O Protocol instance into the System Management System Table\r
   //\r
-  CopyMem (&gSmst->SmmIo, &mSmmCpuIo2, sizeof (mSmmCpuIo2));\r
+  CopyMem (&gMmst->MmIo, &mSmmCpuIo2, sizeof (mSmmCpuIo2));\r
 \r
   //\r
-  // Install the SMM CPU I/O Protocol into the SMM protocol database\r
+  // Install the SMM CPU I/O Protocol into the MM protocol database\r
   //\r
-  Status = gSmst->SmmInstallProtocolInterface (\r
+  Status = gMmst->MmInstallProtocolInterface (\r
                     &mHandle,\r
                     &gEfiSmmCpuIo2ProtocolGuid,\r
                     EFI_NATIVE_INTERFACE,\r