//\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
#include <Library/BaseLib.h>\r
#include <Library/DebugLib.h>\r
#include <Library/IoLib.h>\r
-#include <Library/SmmServicesTableLib.h>\r
+#include <Library/MmServicesTableLib.h>\r
#include <Library/BaseMemoryLib.h>\r
\r
#define MAX_IO_PORT_ADDRESS 0xFFFF\r
BaseLib\r
DebugLib\r
IoLib\r
- SmmServicesTableLib\r
+ MmServicesTableLib\r
BaseMemoryLib\r
\r
[Protocols]\r
\r
[LibraryClasses.common.DXE_SMM_DRIVER]\r
SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
+ MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r