Lines Matching refs:SecureBootEnable
147 UINT8 SecureBootEnable;
264 // If "SecureBootEnable" variable exists, then update "SecureBoot" variable.
265 // If "SecureBootEnable" variable is SECURE_BOOT_ENABLE and in USER_MODE, Set "SecureBoot" variable to SECURE_BOOT_MODE_ENABLE.
266 // If "SecureBootEnable" variable is SECURE_BOOT_DISABLE, Set "SecureBoot" variable to SECURE_BOOT_MODE_DISABLE.
268 SecureBootEnable = SECURE_BOOT_DISABLE;
272 SecureBootEnable = *(UINT8 *) Data;
276 // "SecureBootEnable" not exist, initialize it in USER_MODE.
278 SecureBootEnable = SECURE_BOOT_ENABLE;
282 &SecureBootEnable,
294 if (SecureBootEnable == SECURE_BOOT_ENABLE && mPlatformMode == USER_MODE) {
312 DEBUG ((EFI_D_INFO, "Variable %s is %x\n", EFI_SECURE_BOOT_ENABLE_NAME, SecureBootEnable));