/* If there is no additional space for HOB creation, then ASSERT(). */
VOID EFIAPI BuildCpuHob(IN UINT8 SizeOfMemorySpace, IN UINT8 SizeOfIoSpace)
/* If there is no additional space for HOB creation, then ASSERT(). */
VOID EFIAPI BuildCpuHob(IN UINT8 SizeOfMemorySpace, IN UINT8 SizeOfIoSpace)
{
  EFI_HOB_CPU  *Hob;
  Hob = InternalPeiCreateHob (EFI_HOB_TYPE_CPU, (UINT16)sizeof (EFI_HOB_CPU));
  if (Hob == NULL) {
    return;
  }
  Hob->SizeOfMemorySpace = SizeOfMemorySpace;
  Hob->SizeOfIoSpace     = SizeOfIoSpace;
  ZeroMem (Hob->Reserved, sizeof (Hob->Reserved));
}