/* Measure and log an action string, and extend the measurement result into PCR. */
EFI_STATUS EFIAPI TcgMeasureAction(IN CHAR8 *String)
/* Measure and log an action string, and extend the measurement result into PCR. */
EFI_STATUS EFIAPI TcgMeasureAction(IN CHAR8 *String)
{
  TCG_PCR_EVENT_HDR  TcgEvent;
  TcgEvent.PCRIndex  = 5;
  TcgEvent.EventType = EV_EFI_ACTION;
  TcgEvent.EventSize = (UINT32)AsciiStrLen (String);
  return TcgDxeHashLogExtendEventI (
           &mTcgDxeData,
           (UINT8 *)String,
           TcgEvent.EventSize,
           &TcgEvent,
           (UINT8 *)String
           );
}