/* Retrieve the SMM Fault Tolerent Write protocol interface. */
EFI_STATUS GetFtwProtocol(OUT VOID **FtwProtocol)
/* Retrieve the SMM Fault Tolerent Write protocol interface. */
EFI_STATUS GetFtwProtocol(OUT VOID **FtwProtocol)
{
  EFI_STATUS  Status;
  Status = gMmst->MmLocateProtocol (
                    &gEfiSmmFaultTolerantWriteProtocolGuid,
                    NULL,
                    FtwProtocol
                    );
  return Status;
}