/* This service enables PEIMs to ascertain the present value of the boot mode. */
EFI_STATUS EFIAPI PeiServicesGetBootMode(OUT EFI_BOOT_MODE *BootMode)
/* This service enables PEIMs to ascertain the present value of the boot mode. */
EFI_STATUS EFIAPI PeiServicesGetBootMode(OUT EFI_BOOT_MODE *BootMode)
{
  CONST EFI_PEI_SERVICES  **PeiServices;
  PeiServices = GetPeiServicesTablePointer ();
  return (*PeiServices)->GetBootMode (PeiServices, BootMode);
}