diff --git a/Docs/Changelog.md b/Docs/Changelog.md index b2227a9..07dd55b 100644 --- a/Docs/Changelog.md +++ b/Docs/Changelog.md @@ -1,5 +1,18 @@ OpenCore Changelog ================== +#### v0.9.4 +- Fixed kext blocker `Exclude` strategy for prelinked on 32-bit versions of macOS +- Fixed `ForceAquantiaEthernet` quirk on macOS 14 beta 2, thx @Shikumo +- Added `InstanceIdentifier` to OpenCore and option to target `.contentVisibility` to specific instances (thx @dakanji) +- Improved `LapicKernelPanic` quirk on legacy versions of macOS +- Allowed `.contentVisibility` in same boot FS root locations as `.VolumeIcon.icns`, in order to survive macOS updates +- Fixed incorrect core count on Silvermont Atom/Celeron processors +- Fixed PM timer detection on Silvermont Atom/Celeron processors for TSC calculations +- Fixed PM timer detection on non-Intel chipsets when booted through OpenDuet +- Fixed `FadtEnableReset` on NVIDIA nForce chipset platforms +- Added BlockIoDxe alternative OpenDuet variant +- Added support for ATI cards when using `ForceResolution` option + #### v0.9.3 - Added `--force-codec` option to AudioDxe, thx @xCuri0 - Downgraded additional warning message in normal operation of emulated NVRAM to info diff --git a/Docs/Configuration.pdf b/Docs/Configuration.pdf index 3b89e4b..378a8fe 100644 Binary files a/Docs/Configuration.pdf and b/Docs/Configuration.pdf differ diff --git a/Docs/Sample.plist b/Docs/Sample.plist index 193913c..e2d67b1 100644 --- a/Docs/Sample.plist +++ b/Docs/Sample.plist @@ -1084,6 +1084,8 @@ HideAuxiliary + InstanceIdentifier + LauncherOption Disabled LauncherPath @@ -1319,6 +1321,7 @@ fmm-mobileme-token-FMM-BridgeHasAccount nvda_drv prev-lang:kbd + backlight-level 8BE4DF61-93CA-11D2-AA0D-00E098032B8C diff --git a/EFI-Debug/BOOT/BOOTx64.efi b/EFI-Debug/BOOT/BOOTx64.efi index 460f19d..6708379 100644 Binary files a/EFI-Debug/BOOT/BOOTx64.efi and b/EFI-Debug/BOOT/BOOTx64.efi differ diff --git a/EFI-Debug/OC/Drivers/AudioDxe.efi b/EFI-Debug/OC/Drivers/AudioDxe.efi index fc2f364..193c22b 100644 Binary files a/EFI-Debug/OC/Drivers/AudioDxe.efi and b/EFI-Debug/OC/Drivers/AudioDxe.efi differ diff --git a/EFI-Debug/OC/Drivers/OpenRuntime.efi b/EFI-Debug/OC/Drivers/OpenRuntime.efi index cd3b9fd..9c43fba 100644 Binary files a/EFI-Debug/OC/Drivers/OpenRuntime.efi and b/EFI-Debug/OC/Drivers/OpenRuntime.efi differ diff --git a/EFI-Debug/OC/Drivers/ResetNvramEntry.efi b/EFI-Debug/OC/Drivers/ResetNvramEntry.efi index e4f33c2..23533b6 100644 Binary files a/EFI-Debug/OC/Drivers/ResetNvramEntry.efi and b/EFI-Debug/OC/Drivers/ResetNvramEntry.efi differ diff --git a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Info.plist b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Info.plist index 6297e0e..da2ed96 100644 --- a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Info.plist +++ b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21G531 + 21G651 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.6 + 1.6.7 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.6 + 1.6.7 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu index 2a06661..c3d2ab6 100755 Binary files a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu and b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu differ diff --git a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_cpu.hpp b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_cpu.hpp index 0c4ff90..a4273ee 100644 --- a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_cpu.hpp +++ b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_cpu.hpp @@ -77,6 +77,7 @@ namespace CPUInfo { CPU_MODEL_SKYLAKE = 0x4E, CPU_MODEL_SKYLAKE_ULT = 0x4E, CPU_MODEL_SKYLAKE_ULX = 0x4E, + CPU_MODEL_BROADWELL_EP = 0x4F, CPU_MODEL_SKYLAKE_DT = 0x5E, CPU_MODEL_SKYLAKE_W = 0x55, CPU_MODEL_KABYLAKE = 0x8E, @@ -93,7 +94,8 @@ namespace CPUInfo { CPU_MODEL_ROCKETLAKE_S = 0xA7, /* desktop RocketLake */ CPU_MODEL_TIGERLAKE_U = 0x8C, CPU_MODEL_ALDERLAKE_S = 0x97, - CPU_MODEL_RAPTORLAKE_S = 0xB7, + CPU_MODEL_RAPTORLAKE_S = 0xB7, /* Raptor Lake B0 stepping */ + CPU_MODEL_RAPTORLAKE_HX = 0xBF, /* Raptor Lake C0 stepping */ }; /** diff --git a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp index e0588e4..afbc6ef 100644 --- a/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp +++ b/EFI-Debug/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp @@ -718,26 +718,6 @@ private: */ bool routeMultipleInternal(size_t id, RouteRequest *requests, size_t num, mach_vm_address_t start=0, size_t size=0, bool kernelRoute=true, bool force=false, JumpType jumpType=JumpType::Auto); - /** - * Simple find and replace with masking in kernel memory - * - * @param data kernel memory - * @param dataSize size of kernel memory - * @param find find pattern - * @param findSize size of find pattern - * @param findMask find masking pattern - * @param findMaskSize size of find masking pattern - * @param replace replace pattern - * @param replaceSize size of replace pattern - * @param replaceMask replace masking pattern - * @param replaceMaskSize repalce masking pattern - * @param count maximum times of patching - * @param skip number of skipping times before performing replacement - * - * @return true if the finding and replacing performance is successful - */ - static bool findAndReplaceWithMaskInternal(void *data, size_t dataSize, const void *find, size_t findSize, const void *findMask, size_t findMaskSize, const void *replace, size_t replaceSize, const void *replaceMask, size_t replaceMaskSize, size_t count, size_t skip); - #ifdef LILU_KEXTPATCH_SUPPORT /** * Process loaded kext diff --git a/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/Info.plist b/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/Info.plist index 1ba23c9..1f68389 100644 --- a/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/Info.plist +++ b/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21G531 + 21G651 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.5 + 1.6.6 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.5 + 1.6.6 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen b/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen index 2e26ec0..0365965 100755 Binary files a/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen and b/EFI-Debug/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen differ diff --git a/EFI-Debug/OC/OpenCore.efi b/EFI-Debug/OC/OpenCore.efi index 7484f30..6a7a72c 100644 Binary files a/EFI-Debug/OC/OpenCore.efi and b/EFI-Debug/OC/OpenCore.efi differ diff --git a/EFI-Debug/OC/config.plist b/EFI-Debug/OC/config.plist index 0b19041..0283bea 100644 --- a/EFI-Debug/OC/config.plist +++ b/EFI-Debug/OC/config.plist @@ -328,6 +328,8 @@ HideAuxiliary + InstanceIdentifier + LauncherOption Disabled LauncherPath diff --git a/EFI-Release/OC/Drivers/AudioDxe.efi b/EFI-Release/OC/Drivers/AudioDxe.efi index ec8c23b..9f6485f 100644 Binary files a/EFI-Release/OC/Drivers/AudioDxe.efi and b/EFI-Release/OC/Drivers/AudioDxe.efi differ diff --git a/EFI-Release/OC/Drivers/OpenCanopy.efi b/EFI-Release/OC/Drivers/OpenCanopy.efi index 89d5214..cc6ad6e 100644 Binary files a/EFI-Release/OC/Drivers/OpenCanopy.efi and b/EFI-Release/OC/Drivers/OpenCanopy.efi differ diff --git a/EFI-Release/OC/Drivers/ResetNvramEntry.efi b/EFI-Release/OC/Drivers/ResetNvramEntry.efi index fdc32a8..994c980 100644 Binary files a/EFI-Release/OC/Drivers/ResetNvramEntry.efi and b/EFI-Release/OC/Drivers/ResetNvramEntry.efi differ diff --git a/EFI-Release/OC/Kexts/Lilu.kext/Contents/Info.plist b/EFI-Release/OC/Kexts/Lilu.kext/Contents/Info.plist index 6297e0e..da2ed96 100644 --- a/EFI-Release/OC/Kexts/Lilu.kext/Contents/Info.plist +++ b/EFI-Release/OC/Kexts/Lilu.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21G531 + 21G651 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.6 + 1.6.7 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.6 + 1.6.7 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/EFI-Release/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu b/EFI-Release/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu index a069a3e..e6e23fd 100755 Binary files a/EFI-Release/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu and b/EFI-Release/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu differ diff --git a/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/Info.plist b/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/Info.plist index 1ba23c9..1f68389 100644 --- a/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/Info.plist +++ b/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21G531 + 21G651 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.5 + 1.6.6 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.5 + 1.6.6 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen b/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen index e5573b2..cd32d08 100755 Binary files a/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen and b/EFI-Release/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen differ diff --git a/EFI-Release/OC/OpenCore.efi b/EFI-Release/OC/OpenCore.efi index 7f2daa0..2509845 100644 Binary files a/EFI-Release/OC/OpenCore.efi and b/EFI-Release/OC/OpenCore.efi differ diff --git a/EFI-Release/OC/config.plist b/EFI-Release/OC/config.plist index 2f18e11..f960878 100644 --- a/EFI-Release/OC/config.plist +++ b/EFI-Release/OC/config.plist @@ -328,6 +328,8 @@ HideAuxiliary + InstanceIdentifier + LauncherOption Disabled LauncherPath diff --git a/README.md b/README.md index 263f5e6..110a839 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Note|Description :----|:---- Initial macOS Support|macOS 10.15, Catalina. -- Opencore version: 0.9.3 -- Release date: 12/06/2023 (delayed a week) +- Opencore version: 0.9.4 +- Release date: 07/08/2023 # Basic Steps diff --git a/Utils/macrecovery/macrecovery.py b/Utils/macrecovery/macrecovery.py index b0e11a3..76a60aa 100755 --- a/Utils/macrecovery/macrecovery.py +++ b/Utils/macrecovery/macrecovery.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Gather recovery information for Macs. diff --git a/Utils/macrecovery/recovery_urls.txt b/Utils/macrecovery/recovery_urls.txt index 0aea577..ca233f3 100644 --- a/Utils/macrecovery/recovery_urls.txt +++ b/Utils/macrecovery/recovery_urls.txt @@ -35,4 +35,4 @@ python macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download # Latest version # ie. Ventura (13) -python ./macrecovery.py -b Mac-B4831CEBD52A0C4C -m 00000000000000000 download +python macrecovery.py -b Mac-B4831CEBD52A0C4C -m 00000000000000000 download diff --git a/Utils/ocvalidate/ocvalidate b/Utils/ocvalidate/ocvalidate index 81147cb..a3861be 100755 Binary files a/Utils/ocvalidate/ocvalidate and b/Utils/ocvalidate/ocvalidate differ diff --git a/Utils/ocvalidate/ocvalidate.exe b/Utils/ocvalidate/ocvalidate.exe index d661668..4469a70 100755 Binary files a/Utils/ocvalidate/ocvalidate.exe and b/Utils/ocvalidate/ocvalidate.exe differ diff --git a/Utils/ocvalidate/ocvalidate.linux b/Utils/ocvalidate/ocvalidate.linux index 4daa206..1bb28bb 100755 Binary files a/Utils/ocvalidate/ocvalidate.linux and b/Utils/ocvalidate/ocvalidate.linux differ