/* Send BlockSid request through TPM physical presence module. */
EFI_STATUS HiiSetBlockSidAction(IN UINT32 PpRequest)
/* Send BlockSid request through TPM physical presence module. */
EFI_STATUS HiiSetBlockSidAction(IN UINT32 PpRequest)
{
  UINT32      ReturnCode;
  EFI_STATUS  Status;
  ReturnCode = Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction (PpRequest, 0);
  if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS) {
    Status = EFI_SUCCESS;
  } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_GENERAL_FAILURE) {
    Status = EFI_OUT_OF_RESOURCES;
  } else if (ReturnCode == TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED) {
    Status = EFI_UNSUPPORTED;
  } else {
    Status = EFI_DEVICE_ERROR;
  }
  return Status;
}