Lines Matching refs:SecureBootEnable
2953 UINT8 *SecureBootEnable;
2958 SecureBootEnable = NULL;
2996 // Check SecureBootEnable & Pk status, fix the inconsistence.
2997 // If the SecureBootEnable Variable doesn't exist, hide the SecureBoot Enable/Disable
3001 GetVariable2 (EFI_SECURE_BOOT_ENABLE_NAME, &gEfiSecureBootEnableDisableGuid, (VOID**)&SecureBootEnable, NULL);
3004 // Fix Pk, SecureBootEnable inconsistence
3008 if ((SecureBootEnable != NULL) && (*SecureBootEnable == SECURE_BOOT_ENABLE)) {
3025 if (SecureBootEnable != NULL) {
3026 FreePool (SecureBootEnable);
3261 UINT8 *SecureBootEnable;
3269 SecureBootEnable = NULL;
3328 GetVariable2 (EFI_SECURE_BOOT_ENABLE_NAME, &gEfiSecureBootEnableDisableGuid, (VOID**)&SecureBootEnable, NULL);
3329 if (NULL != SecureBootEnable) {
3330 FreePool (SecureBootEnable);