diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index 0df205fd5..5f7fce8f4 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -6584,6 +6584,9 @@ GetOSIconName ( XStringW OSIconName; if (OSVersion == NULL) { OSIconName = L"mac"_XSW; + } else if (AsciiStrStr (OSVersion, "10.16") != 0) { + // Big Sur + OSIconName = L"bigsur,mac"_XSW; } else if (AsciiStrStr (OSVersion, "10.15") != 0) { // Catalina OSIconName = L"cata,mac"_XSW; diff --git a/rEFIt_UEFI/Platform/kernel_patcher.cpp b/rEFIt_UEFI/Platform/kernel_patcher.cpp index c02a38352..bbb0f2068 100644 --- a/rEFIt_UEFI/Platform/kernel_patcher.cpp +++ b/rEFIt_UEFI/Platform/kernel_patcher.cpp @@ -1126,7 +1126,7 @@ VOID LOADER_ENTRY::applyKernPatch(const UINT8 *find, UINTN size, const UINT8 *re // static inline BOOLEAN IsXCPMOSVersionCompat(UINT64 os_version) { - return (os_version >= AsciiOSVersionToUint64("10.8.5")) && (os_version < AsciiOSVersionToUint64("10.16")); + return (os_version >= AsciiOSVersionToUint64("10.8.5")) && (os_version < AsciiOSVersionToUint64("10.17")); } // diff --git a/rEFIt_UEFI/refit/main.cpp b/rEFIt_UEFI/refit/main.cpp index 9838b2a75..24047a806 100644 --- a/rEFIt_UEFI/refit/main.cpp +++ b/rEFIt_UEFI/refit/main.cpp @@ -708,7 +708,8 @@ VOID LOADER_ENTRY::StartLoader() strncmp(InstallerVersion, "10.12", 5) && strncmp(InstallerVersion, "10.13", 5) && strncmp(InstallerVersion, "10.14", 5) && - strncmp(InstallerVersion, "10.15", 5)) { + strncmp(InstallerVersion, "10.15", 5) && + strncmp(InstallerVersion, "10.16", 5)) { InstallerVersion = NULL; // flag known version was not found } if (InstallerVersion != NULL) { // known version was found in image