/* This internal function enables PEIMs to create various types of HOBs. */
VOID* EFIAPI InternalPeiCreateHob(IN UINT16 Type, IN UINT16 Length)
/* This internal function enables PEIMs to create various types of HOBs. */
VOID* EFIAPI InternalPeiCreateHob(IN UINT16 Type, IN UINT16 Length)
{
  EFI_STATUS  Status;
  VOID        *Hob;
  Status = PeiServicesCreateHob (Type, Length, &Hob);
  if (EFI_ERROR (Status)) {
    Hob = NULL;
  }
  ASSERT (Hob != NULL);
  return Hob;
}