/* This function returns the system boot mode information from the PHIT HOB in HOB list. */
EFI_STATUS EFIAPI SetBootMode(IN EFI_BOOT_MODE BootMode)
/* This function returns the system boot mode information from the PHIT HOB in HOB list. */
EFI_STATUS EFIAPI SetBootMode(IN EFI_BOOT_MODE BootMode)
{
  EFI_PEI_HOB_POINTERS  Hob;
  Hob.Raw                               = GetHobList ();
  Hob.HandoffInformationTable->BootMode = BootMode;
  return BootMode;
}