/* If the pointer to the HOB list is NULL, then ASSERT(). */
EFI_BOOT_MODE EFIAPI GetBootModeHob(VOID)
/* If the pointer to the HOB list is NULL, then ASSERT(). */
EFI_BOOT_MODE EFIAPI GetBootModeHob(VOID)
{
  EFI_HOB_HANDOFF_INFO_TABLE  *HandOffHob;
  HandOffHob = (EFI_HOB_HANDOFF_INFO_TABLE *)GetHobList ();
  return HandOffHob->BootMode;
}