/* Utility to send 1-3 bytes of input as a 4-byte value with trailing zeroes.  */
STATIC UINT32 BIov_Send_Rem(IN UINT32 *Data, IN UINT32 Len)
/* Utility to send 1-3 bytes of input as a 4-byte value with trailing zeroes.  */
STATIC UINT32 BIov_Send_Rem(IN UINT32 *Data, IN UINT32 Len)
{
  union {
    UINT8     c[4];
    UINT32    w;
  } u;
  UINT8   *cdata;
  UINT32  i;
  cdata = (UINT8 *)Data;
  u.w   = 0;
  for (i = 0; i < Len; i++) {
    u.c[i] = *cdata++;
  }
  return u.w;
}