Skip to content

Commit

Permalink
Allow booting Windows 7 or older without CSM
Browse files Browse the repository at this point in the history
  • Loading branch information
archeYR committed Jul 28, 2021
1 parent 663f776 commit d95aa24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/boot.c
Expand Up @@ -4559,7 +4559,9 @@ static EFI_STATUS boot(EFI_HANDLE image_handle, EFI_BOOT_SERVICES* bs, EFI_FILE_
Status = initialize_csm(image_handle, bs);
if (EFI_ERROR(Status)) {
print_error("initialize_csm", Status);
goto end;
if (version >= _WIN32_WINNT_WIN8)
goto end;
print_string("Trying to boot Windows 7 or older without CSM...\n");
}
}

Expand Down

0 comments on commit d95aa24

Please sign in to comment.