Lines Matching refs:BootMode
83 EFI_BOOT_MODE BootMode;
86 Status = (*PeiServices)->GetBootMode((const EFI_PEI_SERVICES **)PeiServices, &BootMode);
89 if (BootMode == BOOT_ON_S3_RESUME) {
102 BootMode = BOOT_ON_FLASH_UPDATE;
103 Status = (*PeiServices)->SetBootMode((const EFI_PEI_SERVICES **)PeiServices, BootMode);
169 EFI_BOOT_MODE BootMode;
173 Status = (*PeiServices)->GetBootMode(PeiServices, &BootMode);
175 if (BootMode == BOOT_IN_RECOVERY_MODE){
182 BootMode = BOOT_WITH_FULL_CONFIGURATION;
187 BootMode = BOOT_ON_S3_RESUME;
193 BootMode = BOOT_ON_S4_RESUME;
197 BootMode = BOOT_ON_S5_RESUME;
204 PrioritizeBootMode (&BootMode, BOOT_WITH_MINIMAL_CONFIGURATION);
207 switch (BootMode) {
247 Status = (*PeiServices)->SetBootMode(PeiServices, BootMode);