/* This service enables PEIMs to update the boot mode variable. */
EFI_STATUS EFIAPI PeiServicesSetBootMode(IN EFI_BOOT_MODE BootMode)
/* This service enables PEIMs to update the boot mode variable. */
EFI_STATUS EFIAPI PeiServicesSetBootMode(IN EFI_BOOT_MODE BootMode)
{
  CONST EFI_PEI_SERVICES  **PeiServices;
  PeiServices = GetPeiServicesTablePointer ();
  return (*PeiServices)->SetBootMode (PeiServices, BootMode);
}