Skip to content

Commit

Permalink
upgrade 0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pal committed Aug 19, 2023
1 parent 1c3919b commit f31e50f
Show file tree
Hide file tree
Showing 102 changed files with 781 additions and 230 deletions.
Binary file modified EFI/OC/Drivers/OpenCanopy.efi
Binary file not shown.
Binary file added EFI/OC/Kexts/AppleALC.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/AppleALC.kext/Contents/._MacOS
Binary file not shown.
595 changes: 568 additions & 27 deletions EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC
Binary file not shown.
Binary file added EFI/OC/Kexts/Lilu.kext/._Contents
Binary file not shown.
Binary file added EFI/OC/Kexts/Lilu.kext/Contents/._Info.plist
Binary file not shown.
Binary file added EFI/OC/Kexts/Lilu.kext/Contents/._MacOS
Binary file not shown.
Binary file added EFI/OC/Kexts/Lilu.kext/Contents/._Resources
Binary file not shown.
6 changes: 3 additions & 3 deletions EFI/OC/Kexts/Lilu.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21G419</string>
<string>21G651</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.6.4</string>
<string>1.6.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.6.4</string>
<string>1.6.7</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file added EFI/OC/Kexts/Lilu.kext/Contents/MacOS/._Lilu
Binary file not shown.
Binary file modified EFI/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 */
};

/**
Expand Down
20 changes: 0 additions & 20 deletions EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,26 +718,6 @@ class KernelPatcher {
*/
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ extern proc_t kernproc;
*
* @param format formatted string
*/
EXPORT extern "C" void lilu_os_log(const char *format, ...);
EXPORT extern "C" void lilu_os_log(const char *format, ...) __printflike(1, 2);

/**
* Two-way substring search
Expand Down Expand Up @@ -394,6 +394,7 @@ enum KernelVersion {
BigSur = 20,
Monterey = 21,
Ventura = 22,
Sonoma = 23,
};

/**
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/NVMeFix.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/NVMeFix.kext/Contents/._MacOS
Binary file not shown.
18 changes: 9 additions & 9 deletions EFI/OC/Kexts/NVMeFix.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20G624</string>
<string>21G651</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,29 +17,29 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>13C100</string>
<string>13F100</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>12.1</string>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>21C46</string>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx12.1</string>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1321</string>
<string>1341</string>
<key>DTXcodeBuild</key>
<string>13C100</string>
<string>13F100</string>
<key>IOKitPersonalities</key>
<dict>
<key>org.acidanthera.NVMeFix</key>
Expand Down
Binary file not shown.
Binary file modified EFI/OC/Kexts/NVMeFix.kext/Contents/MacOS/NVMeFix
Binary file not shown.
Binary file added EFI/OC/Kexts/SMCProcessor.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21G419</string>
<string>21G531</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file modified EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor
Binary file not shown.
Binary file added EFI/OC/Kexts/SMCSuperIO.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/SMCSuperIO.kext/Contents/._MacOS
Binary file not shown.
6 changes: 3 additions & 3 deletions EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21G419</string>
<string>21G531</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file modified EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO
Binary file not shown.
Binary file added EFI/OC/Kexts/VirtualSMC.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/VirtualSMC.kext/Contents/._MacOS
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21G419</string>
<string>21G531</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file modified EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added EFI/OC/Kexts/WhateverGreen.kext/._Contents
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions EFI/OC/Kexts/WhateverGreen.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>21G419</string>
<string>21G651</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.6.4</string>
<string>1.6.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.6.4</string>
<string>1.6.6</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file modified EFI/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen
Binary file not shown.
Binary file modified EFI/OC/OpenCore.efi
Binary file not shown.
Binary file modified EFI/OC/Tools/CleanNvram.efi
Binary file not shown.
Binary file modified EFI/OC/Tools/OpenShell.efi
Binary file not shown.
Loading

0 comments on commit f31e50f

Please sign in to comment.