/* Software SMI callback for restoring SMRR base and mask in S3 path. */
EFI_STATUS EFIAPI BlSwSmiHandler(IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize)
/* Software SMI callback for restoring SMRR base and mask in S3 path. */
EFI_STATUS EFIAPI BlSwSmiHandler(IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context, IN OUT VOID *CommBuffer, IN OUT UINTN *CommBufferSize)
{
  SetSmrrOnS3 ();
  SmmFeatureLockOnS3 ();
  LockSmiGlobalEn ();
  return EFI_SUCCESS;
}