├── .gitignore └── OpenCore (1.0.4) - Sonoma └── EFI ├── BOOT ├── .contentFlavour └── BOOTx64.efi └── OC ├── .contentFlavour ├── Tools ├── smc ├── alc-verb ├── rtcread ├── smcread └── libaistat.dylib ├── OpenCore.efi ├── ACPI ├── SSDT-EC.aml ├── SSDT-UNC.aml ├── SSDT-2643V2.aml ├── SSDT-2667V2.aml ├── SSDT-2670.aml ├── SSDT-2680.aml ├── SSDT-2680v2.aml ├── SSDT-2687V2.aml ├── SSDT-2697V2.aml ├── SSDT-CPUPM.aml ├── SSDT-HDEF.aml ├── SSDT-HPET.aml ├── ssdt-1620.aml ├── ssdt-1620v2.aml ├── ssdt-2643.aml ├── ssdt-2650.aml ├── ssdt-2650V2.aml ├── SSDT-UIAC-ALL.aml ├── SSDT-1-2643V2-CpuDef.aml ├── SSDT-1-2667V2-CpuDef.aml └── SSDT-1-2687V2-CpuDef.aml ├── Drivers ├── AudioDxe.efi ├── HfsPlus.efi ├── XhciDxe.efi ├── OpenCanopy.efi ├── HfsPlusLegacy.efi ├── NvmExpressDxe.efi ├── OpenHfsPlus.efi ├── OpenRuntime.efi └── ResetNvramEntry.efi ├── Resources ├── Label │ ├── Apple.l2x │ ├── Apple.lbl │ ├── Other.l2x │ ├── Other.lbl │ ├── Shell.l2x │ ├── Shell.lbl │ ├── Tool.l2x │ ├── Tool.lbl │ ├── AppleTM.l2x │ ├── AppleTM.lbl │ ├── EFIBoot.l2x │ ├── EFIBoot.lbl │ ├── Windows.l2x │ ├── Windows.lbl │ ├── AppleRecv.l2x │ ├── AppleRecv.lbl │ ├── ResetNVRAM.l2x │ ├── ResetNVRAM.lbl │ ├── SIPEnabled.l2x │ ├── SIPEnabled.lbl │ ├── SIPDisabled.l2x │ └── SIPDisabled.lbl ├── Font │ ├── Font_1x.bin │ ├── Font_1x.png │ ├── Font_2x.bin │ └── Font_2x.png ├── Image │ └── Acidanthera │ │ ├── Syrah │ │ ├── Dot.icns │ │ ├── Cursor.icns │ │ ├── Enter.icns │ │ ├── Left.icns │ │ ├── Lock.icns │ │ ├── Right.icns │ │ ├── Shell.icns │ │ ├── Tool.icns │ │ ├── AppleTM.icns │ │ ├── BtnFocus.icns │ │ ├── Password.icns │ │ ├── Restart.icns │ │ ├── Selected.icns │ │ ├── Selector.icns │ │ ├── ShutDown.icns │ │ ├── Windows.icns │ │ ├── AppleRecv.icns │ │ ├── ExtAppleTM.icns │ │ ├── HardDrive.icns │ │ ├── SetDefault.icns │ │ ├── ExtAppleRecv.icns │ │ └── ExtHardDrive.icns │ │ ├── Chardonnay │ │ ├── Dot.icns │ │ ├── Cursor.icns │ │ ├── Enter.icns │ │ ├── Left.icns │ │ ├── Lock.icns │ │ ├── Right.icns │ │ ├── Shell.icns │ │ ├── Tool.icns │ │ ├── AppleTM.icns │ │ ├── BtnFocus.icns │ │ ├── Password.icns │ │ ├── Restart.icns │ │ ├── Selected.icns │ │ ├── Selector.icns │ │ ├── ShutDown.icns │ │ ├── Windows.icns │ │ ├── AppleRecv.icns │ │ ├── ExtAppleTM.icns │ │ ├── HardDrive.icns │ │ ├── SetDefault.icns │ │ ├── ExtAppleRecv.icns │ │ └── ExtHardDrive.icns │ │ └── GoldenGate │ │ ├── Dot.icns │ │ ├── Cursor.icns │ │ ├── Enter.icns │ │ ├── Left.icns │ │ ├── Lock.icns │ │ ├── Right.icns │ │ ├── Shell.icns │ │ ├── Tool.icns │ │ ├── AppleTM.icns │ │ ├── BtnFocus.icns │ │ ├── Password.icns │ │ ├── Restart.icns │ │ ├── Selected.icns │ │ ├── Selector.icns │ │ ├── ShutDown.icns │ │ ├── Windows.icns │ │ ├── AppleRecv.icns │ │ ├── ExtAppleTM.icns │ │ ├── HardDrive.icns │ │ ├── SetDefault.icns │ │ ├── ExtAppleRecv.icns │ │ └── ExtHardDrive.icns └── Audio │ ├── OCEFIAudio_VoiceOver_Boot.mp3 │ └── OCEFIAudio_VoiceOver_Boot.wav └── Kexts ├── Lilu.kext └── Contents │ ├── MacOS │ └── Lilu │ ├── Resources │ ├── Headers │ │ ├── kern_config.hpp │ │ ├── kern_compat.hpp │ │ ├── kern_policy.hpp │ │ ├── plugin_start.hpp │ │ ├── kern_version.hpp │ │ ├── hde32.h │ │ ├── kern_file.hpp │ │ ├── kern_efi.hpp │ │ ├── hde64.h │ │ ├── kern_compression.hpp │ │ ├── kern_crypto.hpp │ │ ├── kern_time.hpp │ │ ├── capstone │ │ │ ├── platform.h │ │ │ └── xcore.h │ │ ├── kern_disasm.hpp │ │ ├── kern_nvram.hpp │ │ ├── kern_rtc.hpp │ │ ├── kern_iokit.hpp │ │ └── kern_mach.hpp │ └── Library │ │ ├── wrappers │ │ ├── entry64.S │ │ ├── entry32.S │ │ ├── wrappers.inc │ │ └── build.tool │ │ └── plugin_start.cpp │ └── Info.plist ├── AMFIPass.kext └── Contents │ ├── MacOS │ └── AMFIPass │ ├── Info.plist │ └── _CodeSignature │ └── CodeResources ├── AppleALC.kext └── Contents │ └── MacOS │ └── AppleALC ├── IntelMausi.kext └── Contents │ ├── MacOS │ └── IntelMausi │ └── Info.plist ├── SMCSuperIO.kext └── Contents │ ├── MacOS │ └── SMCSuperIO │ └── Info.plist ├── VirtualSMC.kext └── Contents │ ├── MacOS │ └── VirtualSMC │ └── Info.plist ├── CryptexFixup.kext └── Contents │ ├── MacOS │ └── CryptexFixup │ └── Info.plist ├── SMCProcessor.kext └── Contents │ ├── MacOS │ └── SMCProcessor │ └── Info.plist ├── FeatureUnlock.kext └── Contents │ ├── MacOS │ └── FeatureUnlock │ └── Info.plist ├── RestrictEvents.kext └── Contents │ ├── MacOS │ └── RestrictEvents │ └── Info.plist ├── WhateverGreen.kext └── Contents │ ├── MacOS │ └── WhateverGreen │ └── Info.plist ├── USBInjectAll-Zx20.kext └── Contents │ ├── MacOS │ └── USBInjectAll │ └── _CodeSignature │ └── CodeResources ├── AppleIntelE1000e.kext └── Contents │ ├── MacOS │ └── AppleIntelE1000e │ ├── Resources │ └── InfoPlist.strings │ └── Info.plist ├── AstekFusion2Family.kext └── Contents │ ├── MacOS │ ├── fusion_client │ ├── helion_xsan_tool │ ├── AstekFusion2Family │ └── AstekFusion2Family OR │ ├── Resources │ └── English.lproj │ │ └── InfoPlist.strings │ └── Info.plist ├── HibernationFixup.kext └── Contents │ ├── MacOS │ └── HibernationFixup │ └── Info.plist ├── AstekFusion2Adapter.kext └── Contents │ ├── MacOS │ ├── AstekFusion2Adapter │ └── helion_activation_tool │ ├── Resources │ ├── English.lproj │ │ └── InfoPlist.strings │ ├── save_licenses.sh │ └── unsave_licenses.sh │ └── Info.plist ├── AppleIntelCPUPowerManagement.kext └── Contents │ ├── MacOS │ └── AppleIntelCPUPowerManagement │ └── Info.plist └── AppleIntelCPUPowerManagementClient.kext └── Contents ├── MacOS └── AppleIntelCPUPowerManagementClient └── Info.plist /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | 4 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/BOOT/.contentFlavour: -------------------------------------------------------------------------------- 1 | OpenCore -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/.contentFlavour: -------------------------------------------------------------------------------- 1 | OpenCore -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/smc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/smc -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/OpenCore.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/OpenCore.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/BOOT/BOOTx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/BOOT/BOOTx64.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/alc-verb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/alc-verb -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/rtcread: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/rtcread -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/smcread: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/smcread -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-EC.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-EC.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-UNC.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-UNC.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2643V2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2643V2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2667V2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2667V2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2670.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2670.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2680.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2680.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2680v2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2680v2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2687V2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2687V2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2697V2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-2697V2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-CPUPM.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-CPUPM.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-HDEF.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-HDEF.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-HPET.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-HPET.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-1620.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-1620.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-1620v2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-1620v2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2643.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2643.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2650.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2650.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2650V2.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/ssdt-2650V2.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/AudioDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/AudioDxe.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/HfsPlus.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/HfsPlus.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/XhciDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/XhciDxe.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-UIAC-ALL.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-UIAC-ALL.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenCanopy.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenCanopy.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/libaistat.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Tools/libaistat.dylib -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/HfsPlusLegacy.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/HfsPlusLegacy.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/NvmExpressDxe.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/NvmExpressDxe.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenHfsPlus.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenHfsPlus.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenRuntime.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/OpenRuntime.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Apple.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Apple.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Apple.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Apple.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Other.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Other.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Other.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Other.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Shell.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Shell.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Shell.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Shell.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Tool.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Tool.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Tool.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Tool.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/ResetNvramEntry.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Drivers/ResetNvramEntry.efi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_1x.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_1x.bin -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_1x.png -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_2x.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_2x.bin -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Font/Font_2x.png -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleTM.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleTM.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleTM.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleTM.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/EFIBoot.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/EFIBoot.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/EFIBoot.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/EFIBoot.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Windows.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Windows.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Windows.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/Windows.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2643V2-CpuDef.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2643V2-CpuDef.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2667V2-CpuDef.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2667V2-CpuDef.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2687V2-CpuDef.aml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/ACPI/SSDT-1-2687V2-CpuDef.aml -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleRecv.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleRecv.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleRecv.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/AppleRecv.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/ResetNVRAM.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/ResetNVRAM.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/ResetNVRAM.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/ResetNVRAM.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPEnabled.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPEnabled.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPEnabled.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPEnabled.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPDisabled.l2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPDisabled.l2x -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPDisabled.lbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Label/SIPDisabled.lbl -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Dot.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Dot.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AMFIPass.kext/Contents/MacOS/AMFIPass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AMFIPass.kext/Contents/MacOS/AMFIPass -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Audio/OCEFIAudio_VoiceOver_Boot.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Audio/OCEFIAudio_VoiceOver_Boot.mp3 -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Audio/OCEFIAudio_VoiceOver_Boot.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Audio/OCEFIAudio_VoiceOver_Boot.wav -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Cursor.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Cursor.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Enter.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Enter.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Left.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Left.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Lock.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Lock.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Right.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Right.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Shell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Shell.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Tool.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Tool.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/IntelMausi.kext/Contents/MacOS/IntelMausi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/IntelMausi.kext/Contents/MacOS/IntelMausi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Dot.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Dot.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Dot.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Dot.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/AppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/AppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/BtnFocus.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/BtnFocus.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Password.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Password.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Restart.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Restart.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Selected.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Selected.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Selector.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Selector.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ShutDown.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ShutDown.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Windows.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/Windows.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Cursor.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Cursor.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Enter.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Enter.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Left.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Left.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Lock.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Lock.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Right.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Right.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Shell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Shell.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Tool.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Tool.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Cursor.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Cursor.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Enter.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Enter.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Left.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Left.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Lock.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Lock.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Right.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Right.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Shell.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Shell.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Tool.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Tool.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/AppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/AppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtAppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtAppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/HardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/HardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/SetDefault.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/SetDefault.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/CryptexFixup.kext/Contents/MacOS/CryptexFixup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/CryptexFixup.kext/Contents/MacOS/CryptexFixup -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/AppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/AppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/BtnFocus.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/BtnFocus.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Password.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Password.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Restart.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Restart.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Selected.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Selected.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Selector.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Selector.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ShutDown.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ShutDown.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Windows.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/Windows.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/AppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/AppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/BtnFocus.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/BtnFocus.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Password.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Password.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Restart.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Restart.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Selected.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Selected.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Selector.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Selector.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ShutDown.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ShutDown.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Windows.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/Windows.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtAppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtAppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtHardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Syrah/ExtHardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/FeatureUnlock.kext/Contents/MacOS/FeatureUnlock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/FeatureUnlock.kext/Contents/MacOS/FeatureUnlock -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/AppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/AppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtAppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtAppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/HardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/HardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/SetDefault.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/SetDefault.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/AppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/AppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtAppleTM.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtAppleTM.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/HardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/HardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/SetDefault.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/SetDefault.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/USBInjectAll-Zx20.kext/Contents/MacOS/USBInjectAll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/USBInjectAll-Zx20.kext/Contents/MacOS/USBInjectAll -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtAppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtAppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtHardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/Chardonnay/ExtHardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtAppleRecv.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtAppleRecv.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtHardDrive.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Resources/Image/Acidanthera/GoldenGate/ExtHardDrive.icns -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelE1000e.kext/Contents/MacOS/AppleIntelE1000e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelE1000e.kext/Contents/MacOS/AppleIntelE1000e -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/fusion_client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/fusion_client -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/HibernationFixup.kext/Contents/MacOS/HibernationFixup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/HibernationFixup.kext/Contents/MacOS/HibernationFixup -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/helion_xsan_tool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/helion_xsan_tool -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelE1000e.kext/Contents/Resources/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelE1000e.kext/Contents/Resources/InfoPlist.strings -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/MacOS/AstekFusion2Adapter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/MacOS/AstekFusion2Adapter -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/AstekFusion2Family: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/AstekFusion2Family -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/AstekFusion2Family OR: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/MacOS/AstekFusion2Family OR -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/MacOS/helion_activation_tool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/MacOS/helion_activation_tool -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagementClient.kext/Contents/MacOS/AppleIntelCPUPowerManagementClient: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BillDH2k/Hackintosh-HP-Z420-Z620-Z820-OpenCore/HEAD/OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagementClient.kext/Contents/MacOS/AppleIntelCPUPowerManagementClient -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/Resources/save_licenses.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # save_licenses.sh 4 | # helionx 5 | # 6 | # Created by Theodore Vaida - Astek on 10/2/12. 7 | # Copyright (c) 2012 com.astekcorp. All rights reserved. 8 | 9 | if [ -e /System/Library/Extensions/AstekFusion2Adapter.kext ]; then 10 | ./helion_activation_tool --save /tmp/helion_licenses.bin 11 | exit 0 12 | fi -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/Resources/unsave_licenses.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Script.sh 4 | # helionx 5 | # 6 | # Created by Theodore Vaida - Astek on 10/2/12. 7 | # Copyright (c) 2012 com.astekcorp. All rights reserved. 8 | 9 | if [ -e /tmp/helion_licenses.bin ]; then 10 | ./helion_activation_tool --unsave /tmp/helion_licenses.bin --write 11 | /bin/rm /tmp/helion_licenses.bin 12 | fi 13 | exit 0 -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_config.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_config.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_config_hpp 9 | #define kern_config_hpp 10 | 11 | /** 12 | * Enable kext patching support 13 | */ 14 | #define LILU_KEXTPATCH_SUPPORT 1 15 | 16 | /** 17 | * Enable compression and decompression support 18 | */ 19 | #define LILU_COMPRESSION_SUPPORT 1 20 | 21 | /** 22 | * Enable advanced disassembly API based on capstone 23 | */ 24 | // #define LILU_ADVANCED_DISASSEMBLY 1 25 | 26 | /** 27 | * Specify custom initialisation code 28 | * Use these in plugins in Xcode Project Preprocessor Macros section. 29 | */ 30 | // #define LILU_CUSTOM_IOKIT_INIT 1 31 | // #define LILU_CUSTOM_KMOD_INIT 1 32 | 33 | #endif /* kern_config_hpp */ 34 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Library/wrappers/entry64.S: -------------------------------------------------------------------------------- 1 | # 2 | # entry64.S 3 | # Lilu 4 | # 5 | # Copyright © 2018 vit9696. All rights reserved. 6 | # 7 | 8 | .text 9 | .global _main 10 | _main: 11 | push %rbp 12 | mov %rsp, %rbp 13 | # ensure 16-byte alignment 14 | and $0xfffffffffffffff0, %rsp 15 | # int main(int argc, const char* argv[], const char* envp[], const char* apple[]); 16 | push %rdi 17 | push %rsi 18 | push %rdx 19 | push %rcx 20 | call *booter(%rip) 21 | xor %eax, %eax 22 | pop %rcx 23 | pop %rdx 24 | pop %rsi 25 | pop %rdi 26 | mov %rbp, %rsp 27 | pop %rbp 28 | jmp *entrypoint(%rip) 29 | # original entrypoint (main) 30 | entrypoint: 31 | .word 0xFFFF 32 | .word 0xFFFF 33 | .word 0xFFFF 34 | .word 0xFFFF 35 | # entrypoint-compatible wrapper 36 | booter: 37 | .word 0xFFFF 38 | .word 0xFFFF 39 | .word 0xFFFF 40 | .word 0xFFFF 41 | _end: 42 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Library/wrappers/entry32.S: -------------------------------------------------------------------------------- 1 | # 2 | # entry32.S 3 | # Lilu 4 | # 5 | # Copyright © 2018 vit9696. All rights reserved. 6 | # 7 | 8 | .text 9 | .global _main 10 | _main: 11 | push %ebp 12 | mov %esp, %ebp 13 | # ensure 16-byte alignment 14 | and $0xfffffff0, %esp 15 | # int main(int argc, const char* argv[], const char* envp[], const char* apple[]); 16 | push 20(%ebp) 17 | push 16(%ebp) 18 | push 12(%ebp) 19 | push 8(%ebp) 20 | call get_booter 21 | # entrypoint-compatible wrapper 22 | booter: 23 | .word 0xFFFF 24 | .word 0xFFFF 25 | get_booter: 26 | pop %edx 27 | mov (%edx), %edx 28 | call *%edx 29 | xor %eax, %eax 30 | mov %ebp, %esp 31 | pop %ebp 32 | call get_entrypoint 33 | # original entrypoint (main) 34 | entrypoint: 35 | .word 0xFFFF 36 | .word 0xFFFF 37 | get_entrypoint: 38 | pop %edx 39 | mov (%edx), %edx 40 | jmp *%edx 41 | _end: 42 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_compat.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_compat.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_compat_hpp 9 | #define kern_compat_hpp 10 | 11 | #include 12 | #include 13 | 14 | // Legacy compatibility layer created to avoid 10.13 SDK macros 15 | // unsupported in older systems and improperly guarded due to 16 | // Availability.h header not being. Currently these macros 17 | // are left to avoid compilation errors. 18 | #define lilu_os_memcpy memcpy 19 | #define lilu_os_memmove memmove 20 | #define lilu_os_strncpy strncpy 21 | #define lilu_os_strncat strncat 22 | #define lilu_os_strlcat strlcat 23 | #define lilu_os_strlcpy strlcpy 24 | #define lilu_os_strcat strcat 25 | #define lilu_os_bcopy bcopy 26 | 27 | // This may not be nice but will protect users from changes in KernInfo strcture. 28 | #ifndef LILU_DISABLE_BRACE_WARNINGS 29 | #pragma clang diagnostic error "-Wmissing-braces" 30 | #endif 31 | 32 | #if defined(__i386__) 33 | #define lilu_strtou strtoul 34 | 35 | #elif defined(__x86_64__) 36 | #define lilu_strtou strtouq 37 | 38 | #else 39 | #error Unsupported arch. 40 | #endif 41 | 42 | #endif /* kern_compat_hpp */ 43 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Library/wrappers/wrappers.inc: -------------------------------------------------------------------------------- 1 | // 2 | // wrappers.inc 3 | // Lilu 4 | // 5 | // Copyright © 2018 vit9696. All rights reserved. 6 | // 7 | 8 | // This is an autogenerated file, do not edit! 9 | static uint8_t entryWrapper32[] = { 10 | 0x55, 0x89, 0xe5, 0x83, 0xe4, 0xf0, 0xff, 0x75, 0x14, 0xff, 0x75, 0x10, 11 | 0xff, 0x75, 0x0c, 0xff, 0x75, 0x08, 0xe8, 0x04, 0x00, 0x00, 0x00, 0xff, 12 | 0xff, 0xff, 0xff, 0x5a, 0x8b, 0x12, 0xff, 0xd2, 0x31, 0xc0, 0x89, 0xec, 13 | 0x5d, 0xe8, 0x04, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x5a, 0x8b, 14 | 0x12, 0xff, 0xe2 15 | }; 16 | static uint8_t entryWrapper64[] = { 17 | 0x55, 0x48, 0x89, 0xe5, 0x48, 0x83, 0xe4, 0xf0, 0x57, 0x56, 0x52, 0x51, 18 | 0xff, 0x15, 0x18, 0x00, 0x00, 0x00, 0x31, 0xc0, 0x59, 0x5a, 0x5e, 0x5f, 19 | 0x48, 0x89, 0xec, 0x5d, 0xff, 0x25, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 20 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 21 | 0xff, 0xff 22 | }; 23 | static_assert(sizeof(entryWrapper32) == 51, "Invalid entryWrapper32 size"); 24 | static_assert(sizeof(entryWrapper64) == 50, "Invalid entryWrapper64 size"); 25 | static constexpr size_t EntryWrapper32Booter {0x00000017}; 26 | static constexpr size_t EntryWrapper64Booter {0x000000000000002a}; 27 | static constexpr size_t EntryWrapper32Entry {0x0000002a}; 28 | static constexpr size_t EntryWrapper64Entry {0x0000000000000022}; 29 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_policy.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_policy.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_policy_hpp 9 | #define kern_policy_hpp 10 | 11 | #include 12 | 13 | #include 14 | #include 15 | 16 | #include 17 | #include 18 | #include 19 | 20 | #if defined(__x86_64__) 21 | class Policy { 22 | /** 23 | * TrustedBSD Policy handle 24 | */ 25 | mac_policy_handle_t policyHandle {0}; 26 | 27 | /** 28 | * TrustedBSD policy configuration 29 | */ 30 | mac_policy_conf policyConf; 31 | public: 32 | /** 33 | * Compile-time policy constructor 34 | * 35 | * @param name policy name literal 36 | * @param descr policy description literal 37 | * @param ops policy functions 38 | */ 39 | constexpr Policy(const char *name, const char *descr, struct mac_policy_ops *ops) : policyConf{ 40 | .mpc_name = name, 41 | .mpc_fullname = descr, 42 | .mpc_labelnames = nullptr, 43 | .mpc_labelname_count = 0, 44 | .mpc_ops = ops, 45 | // Our policies are loaded very early and are static. We cannot unload them. 46 | .mpc_loadtime_flags = 0 /*MPC_LOADTIME_FLAG_UNLOADOK*/, 47 | .mpc_field_off = nullptr, 48 | .mpc_runtime_flags = 0 49 | } { } 50 | 51 | /** 52 | * Registers TrustedBSD policy 53 | * 54 | * @return true on success 55 | */ 56 | EXPORT bool registerPolicy(); 57 | 58 | /** 59 | * Unregisters TrustedBSD policy if allowed 60 | * 61 | * @return true on success 62 | */ 63 | EXPORT bool unregisterPolicy(); 64 | }; 65 | #endif 66 | 67 | #endif /* kern_policy_hpp */ 68 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/plugin_start.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_start.hpp 3 | // AppleALC 4 | // 5 | // Copyright © 2016 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_start_hpp 9 | #define kern_start_hpp 10 | 11 | #include 12 | 13 | #include 14 | #include 15 | 16 | struct PluginConfiguration { 17 | const char *product; // Product name (e.g. xStringify(PRODUCT_NAME)) 18 | size_t version; // Product version (e.g. parseModuleVersion(xStringify(MODULE_VERSION))) 19 | uint32_t runmode; // Product supported environments (e.g. LiluAPI::AllowNormal) 20 | const char **disableArg; // Pointer to disabling boot arguments array 21 | size_t disableArgNum; // Number of disabling boot arguments 22 | const char **debugArg; // Pointer to debug boot arguments array 23 | size_t debugArgNum; // Number of debug boot arguments 24 | const char **betaArg; // Pointer to beta boot arguments array 25 | size_t betaArgNum; // Number of beta boot arguments 26 | KernelVersion minKernel; // Minimal required kernel version 27 | KernelVersion maxKernel; // Maximum supported kernel version 28 | void (*pluginStart)(); // Main function 29 | }; 30 | 31 | #ifndef LILU_CUSTOM_KMOD_INIT 32 | 33 | extern PluginConfiguration ADDPR(config); 34 | 35 | extern bool ADDPR(startSuccess); 36 | 37 | #endif /* LILU_CUSTOM_KMOD_INIT */ 38 | 39 | #ifndef LILU_CUSTOM_IOKIT_INIT 40 | 41 | class EXPORT PRODUCT_NAME : public IOService { 42 | OSDeclareDefaultStructors(PRODUCT_NAME) 43 | public: 44 | IOService *probe(IOService *provider, SInt32 *score) override; 45 | bool start(IOService *provider) override; 46 | void stop(IOService *provider) override; 47 | }; 48 | 49 | extern PRODUCT_NAME *ADDPR(selfInstance); 50 | 51 | #endif /* LILU_CUSTOM_IOKIT_INIT */ 52 | 53 | #endif /* kern_start_hpp */ 54 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Family.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11G63 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | AstekFusion2Family 11 | CFBundleGetInfoString 12 | 2.62 121912a, Copyright (c) 2010-2012, Astek Corporation 13 | CFBundleIdentifier 14 | com.astekcorp.driver.AstekFusion2Family 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 2.62 21 | CFBundleSignature 22 | ASTK 23 | CFBundleVersion 24 | 2.62 25 | DTCompiler 26 | com.apple.compilers.llvm.clang.1_0 27 | DTPlatformBuild 28 | 4D502 29 | DTPlatformVersion 30 | GM 31 | DTSDKBuild 32 | 10K549 33 | DTSDKName 34 | macosx10.6 35 | DTXcode 36 | 0421 37 | DTXcodeBuild 38 | 4D502 39 | IOKitDebug 40 | 65535 41 | OSBundleCompatibleVersion 42 | 2.62 43 | OSBundleEnableKextLogging 44 | 45 | OSBundleLibraries 46 | 47 | com.apple.iokit.IOPCIFamily 48 | 2.6 49 | com.apple.iokit.IOSCSIParallelFamily 50 | 2.0 51 | com.apple.kpi.bsd 52 | 10.3 53 | com.apple.kpi.iokit 54 | 10.3 55 | com.apple.kpi.libkern 56 | 10.3 57 | com.apple.kpi.mach 58 | 10.3 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelE1000e.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | AppleIntelE1000e 9 | CFBundleIdentifier 10 | com.insanelymac.driver.AppleIntelE1000e 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | AppleIntelE1000e 15 | CFBundlePackageType 16 | KEXT 17 | CFBundleShortVersionString 18 | 3.3.7 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 3.3.7 23 | IOKitPersonalities 24 | 25 | e1000e 26 | 27 | CFBundleIdentifier 28 | com.insanelymac.driver.AppleIntelE1000e 29 | E1000_CTRL_TFCE 30 | 31 | E1000_DEFAULT_RXD 32 | 256 33 | E1000_DEFAULT_TXD 34 | 256 35 | IOClass 36 | AppleIntelE1000e 37 | IOPCIClassMatch 38 | 0x02000000&0xffff0000 39 | IOPCIPrimaryMatch 40 | 0x10008086&0x0000ffff 41 | IOProviderClass 42 | IOPCIDevice 43 | NETIF_F_TSO 44 | 45 | 46 | 47 | OSBundleLibraries 48 | 49 | com.apple.iokit.IONetworkingFamily 50 | 1.5.0 51 | com.apple.iokit.IOPCIFamily 52 | 1.7 53 | com.apple.kpi.bsd 54 | 8.10.0 55 | com.apple.kpi.iokit 56 | 8.10.0 57 | com.apple.kpi.libkern 58 | 8.10.0 59 | com.apple.kpi.mach 60 | 8.10.0 61 | 62 | OSBundleRequired 63 | Network-Root 64 | 65 | 66 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_version.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_version.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2020 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_version_hpp 9 | #define kern_version_hpp 10 | 11 | #include 12 | 13 | #include 14 | #include 15 | 16 | /** 17 | * Slightly non-standard helpers to get the date in a YYYY-MM-DD format. 18 | */ 19 | template 20 | inline constexpr char getBuildYear() { 21 | static_assert(i < 4, "Year consists of four digits"); 22 | return __DATE__[7+i]; 23 | } 24 | 25 | template 26 | inline constexpr char getBuildMonth() { 27 | static_assert(i < 2, "Month consists of two digits"); 28 | auto mon = static_cast(__DATE__[0]) 29 | | (static_cast(__DATE__[1]) << 8U) 30 | | (static_cast(__DATE__[2]) << 16U) 31 | | (static_cast(__DATE__[3]) << 24U); 32 | switch (mon) { 33 | case ' naJ': 34 | return "01"[i]; 35 | case ' beF': 36 | return "02"[i]; 37 | case ' raM': 38 | return "03"[i]; 39 | case ' rpA': 40 | return "04"[i]; 41 | case ' yaM': 42 | return "05"[i]; 43 | case ' nuJ': 44 | return "06"[i]; 45 | case ' luJ': 46 | return "07"[i]; 47 | case ' guA': 48 | return "08"[i]; 49 | case ' peS': 50 | return "09"[i]; 51 | case ' tcO': 52 | return "10"[i]; 53 | case ' voN': 54 | return "11"[i]; 55 | case ' ceD': 56 | return "12"[i]; 57 | default: 58 | return '0'; 59 | } 60 | } 61 | 62 | template 63 | inline constexpr char getBuildDay() { 64 | static_assert(i < 2, "Day consists of two digits"); 65 | if (i == 0 && __DATE__[4+i] == ' ') 66 | return '0'; 67 | return __DATE__[4+i]; 68 | } 69 | 70 | #if !defined(LILU_CUSTOM_KMOD_INIT) || !defined(LILU_CUSTOM_IOKIT_INIT) || defined(LILU_USE_KEXT_VERSION) 71 | 72 | static const char kextVersion[] { 73 | #ifdef DEBUG 74 | 'D', 'B', 'G', '-', 75 | #else 76 | 'R', 'E', 'L', '-', 77 | #endif 78 | xStringify(MODULE_VERSION)[0], xStringify(MODULE_VERSION)[2], xStringify(MODULE_VERSION)[4], '-', 79 | getBuildYear<0>(), getBuildYear<1>(), getBuildYear<2>(), getBuildYear<3>(), '-', 80 | getBuildMonth<0>(), getBuildMonth<1>(), '-', getBuildDay<0>(), getBuildDay<1>(), '\0' 81 | }; 82 | 83 | #endif 84 | 85 | #endif /* kern_version_hpp */ 86 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Library/wrappers/build.tool: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # build.tool 4 | # Lilu 5 | # 6 | # Copyright © 2018 vit9696. All rights reserved. 7 | # 8 | 9 | cd $(dirname "$0") || exit 1 10 | 11 | rm -f *.o *.bin wrappers.inc entry32 entry64 12 | 13 | clang -m32 -c entry32.S || exit 1 14 | clang -m64 -c entry64.S || exit 1 15 | 16 | clang -m32 entry32.o -o entry32 || exit 1 17 | clang -m64 entry64.o -o entry64 || exit 1 18 | 19 | if [ "$(nm entry32.o | grep '00000000 T _main')" == "" ] || [ "$(nm entry64.o | grep '0000000000000000 T _main')" == "" ]; then 20 | echo "Invalid main address" 21 | exit 1 22 | fi 23 | 24 | otool -t entry32 | grep -E '^0000' | sed 's#^[0-9a-f]*##' | xxd -r -p > entry32.bin 25 | otool -t entry64 | grep -E '^0000' | sed 's#^[0-9a-f]*##' | xxd -r -p > entry64.bin 26 | 27 | sz32=$(stat -f '%z' entry32.bin) 28 | sz64=$(stat -f '%z' entry64.bin) 29 | 30 | btr32=$(nm entry32.o | grep -E 't booter$' | cut -f1 -d' ') 31 | btr64=$(nm entry64.o | grep -E 't booter$' | cut -f1 -d' ') 32 | 33 | ep32=$(nm entry32.o | grep -E 't entrypoint$' | cut -f1 -d' ') 34 | ep64=$(nm entry64.o | grep -E 't entrypoint$' | cut -f1 -d' ') 35 | 36 | echo '//' > wrappers.inc 37 | echo '// wrappers.inc' >> wrappers.inc 38 | echo '// Lilu' >> wrappers.inc 39 | echo '//' >> wrappers.inc 40 | echo '// Copyright © 2018 vit9696. All rights reserved.' >> wrappers.inc 41 | echo '//' >> wrappers.inc 42 | echo '' >> wrappers.inc 43 | echo '// This is an autogenerated file, do not edit!' >> wrappers.inc 44 | echo 'static uint8_t entryWrapper32[] = {' >> wrappers.inc 45 | cat entry32.bin | xxd -i >> wrappers.inc 46 | echo '};' >> wrappers.inc 47 | echo 'static uint8_t entryWrapper64[] = {' >> wrappers.inc 48 | cat entry64.bin | xxd -i >> wrappers.inc 49 | echo '};' >> wrappers.inc 50 | echo "static_assert(sizeof(entryWrapper32) == ${sz32}, \"Invalid entryWrapper32 size\");" >> wrappers.inc 51 | echo "static_assert(sizeof(entryWrapper64) == ${sz64}, \"Invalid entryWrapper64 size\");" >> wrappers.inc 52 | echo "static constexpr size_t EntryWrapper32Booter {0x${btr32}};" >> wrappers.inc 53 | echo "static constexpr size_t EntryWrapper64Booter {0x${btr64}};" >> wrappers.inc 54 | echo "static constexpr size_t EntryWrapper32Entry {0x${ep32}};" >> wrappers.inc 55 | echo "static constexpr size_t EntryWrapper64Entry {0x${ep64}};" >> wrappers.inc 56 | 57 | rm -f *.o *.bin entry32 entry64 58 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/hde32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Hacker Disassembler Engine 32 3 | * Copyright (c) 2006-2009, Vyacheslav Patkov. 4 | * All rights reserved. 5 | * 6 | * hde32.h: C/C++ header file 7 | * 8 | */ 9 | 10 | #ifndef _HDE32_H_ 11 | #define _HDE32_H_ 12 | 13 | #include 14 | 15 | #define F_MODRM 0x00000001 16 | #define F_SIB 0x00000002 17 | #define F_IMM8 0x00000004 18 | #define F_IMM16 0x00000008 19 | #define F_IMM32 0x00000010 20 | #define F_DISP8 0x00000020 21 | #define F_DISP16 0x00000040 22 | #define F_DISP32 0x00000080 23 | #define F_RELATIVE 0x00000100 24 | #define F_2IMM16 0x00000800 25 | #define F_ERROR 0x00001000 26 | #define F_ERROR_OPCODE 0x00002000 27 | #define F_ERROR_LENGTH 0x00004000 28 | #define F_ERROR_LOCK 0x00008000 29 | #define F_ERROR_OPERAND 0x00010000 30 | #define F_PREFIX_REPNZ 0x01000000 31 | #define F_PREFIX_REPX 0x02000000 32 | #define F_PREFIX_REP 0x03000000 33 | #define F_PREFIX_66 0x04000000 34 | #define F_PREFIX_67 0x08000000 35 | #define F_PREFIX_LOCK 0x10000000 36 | #define F_PREFIX_SEG 0x20000000 37 | #define F_PREFIX_ANY 0x3f000000 38 | 39 | #define PREFIX_SEGMENT_CS 0x2e 40 | #define PREFIX_SEGMENT_SS 0x36 41 | #define PREFIX_SEGMENT_DS 0x3e 42 | #define PREFIX_SEGMENT_ES 0x26 43 | #define PREFIX_SEGMENT_FS 0x64 44 | #define PREFIX_SEGMENT_GS 0x65 45 | #define PREFIX_LOCK 0xf0 46 | #define PREFIX_REPNZ 0xf2 47 | #define PREFIX_REPX 0xf3 48 | #define PREFIX_OPERAND_SIZE 0x66 49 | #define PREFIX_ADDRESS_SIZE 0x67 50 | 51 | #pragma pack(push,1) 52 | 53 | typedef struct { 54 | uint8_t len; 55 | uint8_t p_rep; 56 | uint8_t p_lock; 57 | uint8_t p_seg; 58 | uint8_t p_66; 59 | uint8_t p_67; 60 | uint8_t opcode; 61 | uint8_t opcode2; 62 | uint8_t modrm; 63 | uint8_t modrm_mod; 64 | uint8_t modrm_reg; 65 | uint8_t modrm_rm; 66 | uint8_t sib; 67 | uint8_t sib_scale; 68 | uint8_t sib_index; 69 | uint8_t sib_base; 70 | union { 71 | uint8_t imm8; 72 | uint16_t imm16; 73 | uint32_t imm32; 74 | } imm; 75 | union { 76 | uint8_t disp8; 77 | uint16_t disp16; 78 | uint32_t disp32; 79 | } disp; 80 | uint32_t flags; 81 | } hde32s; 82 | 83 | #pragma pack(pop) 84 | 85 | #ifdef __cplusplus 86 | extern "C" { 87 | #endif 88 | 89 | /* __cdecl */ 90 | unsigned int hde32_disasm(const void *code, hde32s *hs); 91 | 92 | #ifdef __cplusplus 93 | } 94 | #endif 95 | 96 | #endif /* _HDE32_H_ */ 97 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/CryptexFixup.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23G93 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | CryptexFixup 11 | CFBundleIdentifier 12 | com.khronokernel.CryptexFixup 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | CryptexFixup 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.0.4 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1.0.4 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 31 | DTPlatformName 32 | macosx 33 | DTPlatformVersion 34 | 13.3 35 | DTSDKBuild 36 | 22E245 37 | DTSDKName 38 | macosx13.3 39 | DTXcode 40 | 1431 41 | DTXcodeBuild 42 | 14E300c 43 | IOKitPersonalities 44 | 45 | CryptexFixup 46 | 47 | CFBundleIdentifier 48 | com.khronokernel.CryptexFixup 49 | IOClass 50 | CryptexFixup 51 | IOMatchCategory 52 | CryptexFixup 53 | IOProviderClass 54 | IOResources 55 | IOResourceMatch 56 | IOKit 57 | 58 | 59 | LSMinimumSystemVersion 60 | 10.14 61 | NSHumanReadableCopyright 62 | Copyright © 2021 Khronokernel. All rights reserved. 63 | OSBundleLibraries 64 | 65 | as.vit9696.Lilu 66 | 1.4.7 67 | com.apple.kpi.bsd 68 | 12.0.0 69 | com.apple.kpi.dsep 70 | 12.0.0 71 | com.apple.kpi.iokit 72 | 12.0.0 73 | com.apple.kpi.libkern 74 | 12.0.0 75 | com.apple.kpi.mach 76 | 12.0.0 77 | com.apple.kpi.unsupported 78 | 12.0.0 79 | 80 | OSBundleRequired 81 | Root 82 | 83 | 84 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/FeatureUnlock.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23G93 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | FeatureUnlock 11 | CFBundleIdentifier 12 | com.khronokernel.FeatureUnlock 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | FeatureUnlock 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.1.7 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1.1.7 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 31 | DTPlatformName 32 | macosx 33 | DTPlatformVersion 34 | 13.3 35 | DTSDKBuild 36 | 22E245 37 | DTSDKName 38 | macosx13.3 39 | DTXcode 40 | 1431 41 | DTXcodeBuild 42 | 14E300c 43 | IOKitPersonalities 44 | 45 | FeatureUnlock 46 | 47 | CFBundleIdentifier 48 | com.khronokernel.FeatureUnlock 49 | IOClass 50 | FeatureUnlock 51 | IOMatchCategory 52 | FeatureUnlock 53 | IOProviderClass 54 | IOResources 55 | IOResourceMatch 56 | IOKit 57 | 58 | 59 | LSMinimumSystemVersion 60 | 10.14 61 | NSHumanReadableCopyright 62 | Copyright © 2021 Khronokernel. All rights reserved. 63 | OSBundleLibraries 64 | 65 | as.vit9696.Lilu 66 | 1.4.7 67 | com.apple.kpi.bsd 68 | 12.0.0 69 | com.apple.kpi.dsep 70 | 12.0.0 71 | com.apple.kpi.iokit 72 | 12.0.0 73 | com.apple.kpi.libkern 74 | 12.0.0 75 | com.apple.kpi.mach 76 | 12.0.0 77 | com.apple.kpi.unsupported 78 | 12.0.0 79 | 80 | OSBundleRequired 81 | Root 82 | 83 | 84 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_file.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_file.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_file_hpp 9 | #define kern_file_hpp 10 | 11 | #include 12 | #include 13 | 14 | #include 15 | #include 16 | 17 | namespace FileIO { 18 | /** 19 | * Reads file data at path 20 | * 21 | * @param path full file path 22 | * @param size bytes read 23 | * 24 | * @return allocated buffer on success or nullptr on error 25 | */ 26 | EXPORT uint8_t *readFileToBuffer(const char *path, size_t &size); 27 | 28 | /** 29 | * Read file data from a vnode 30 | * 31 | * @param buffer output buffer 32 | * @param off file offset 33 | * @param sz bytes to read 34 | * @param vnode file node 35 | * @param ctxt filesystem context 36 | * 37 | * @return 0 on success 38 | */ 39 | EXPORT int readFileData(void *buffer, off_t off, size_t sz, vnode_t vnode, vfs_context_t ctxt); 40 | 41 | /** 42 | * Read file size from a vnode 43 | * 44 | * @param vnode file node 45 | * @param ctxt filesystem context 46 | * 47 | * @return file size or 0 48 | */ 49 | EXPORT size_t readFileSize(vnode_t vnode, vfs_context_t ctxt); 50 | 51 | /** 52 | * Writes buffer to a file at path 53 | * 54 | * @param path full file path 55 | * @param buffer input buffer 56 | * @param size bytes write 57 | * @param fmode file opening mode 58 | * @param cmode file permissions 59 | * 60 | * @return 0 on success 61 | */ 62 | EXPORT int writeBufferToFile(const char *path, void *buffer, size_t size, int fmode=O_TRUNC | O_CREAT | FWRITE | O_NOFOLLOW, int cmode=S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); 63 | 64 | /** 65 | * Write file data to a vnode 66 | * 67 | * @param buffer input buffer 68 | * @param off file offset 69 | * @param size bytes to write 70 | * @param vnode file node 71 | * @param ctxt filesystem context 72 | * 73 | * @return 0 on success 74 | */ 75 | EXPORT int writeFileData(void *buffer, off_t off, size_t size, vnode_t vnode, vfs_context_t ctxt); 76 | 77 | /** 78 | * Perform file i/o through a vnode 79 | * 80 | * @param buffer input buffer 81 | * @param off file offset 82 | * @param size bytes to write 83 | * @param vnode file node 84 | * @param ctxt filesystem context 85 | * @param write write to buffer otherwise read 86 | * 87 | * @return 0 on success 88 | */ 89 | int performFileIO(void *buffer, off_t off, size_t size, vnode_t vnode, vfs_context_t ctxt, bool write); 90 | } 91 | 92 | #endif /* kern_file_hpp */ 93 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AMFIPass.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 22G630 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | AMFIPass 11 | CFBundleIdentifier 12 | com.dhinakg.AMFIPass 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | AMFIPass 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.4.1 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1.4.1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 31 | DTPlatformName 32 | macosx 33 | DTPlatformVersion 34 | 14.2 35 | DTSDKBuild 36 | 23C53 37 | DTSDKName 38 | macosx14.2 39 | DTXcode 40 | 1520 41 | DTXcodeBuild 42 | 15C500b 43 | IOKitPersonalities 44 | 45 | AMFIPass 46 | 47 | CFBundleIdentifier 48 | com.dhinakg.AMFIPass 49 | IOClass 50 | AMFIPass 51 | IOMatchCategory 52 | AMFIPass 53 | IOProviderClass 54 | IOResources 55 | IOResourceMatch 56 | IOKit 57 | 58 | 59 | LSMinimumSystemVersion 60 | 10.15 61 | NSHumanReadableCopyright 62 | Copyright © 2022-2023 Dhinak G. All rights reserved. 63 | OSBundleLibraries 64 | 65 | as.vit9696.Lilu 66 | 1.6.8 67 | com.apple.kpi.bsd 68 | 12.0.0 69 | com.apple.kpi.dsep 70 | 12.0.0 71 | com.apple.kpi.iokit 72 | 12.0.0 73 | com.apple.kpi.libkern 74 | 12.0.0 75 | com.apple.kpi.mach 76 | 12.0.0 77 | com.apple.kpi.private 78 | 12.0.0 79 | com.apple.kpi.unsupported 80 | 12.0.0 81 | 82 | OSBundleRequired 83 | Root 84 | 85 | 86 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_efi.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_efi.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2018 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_efi_h 9 | #define kern_efi_h 10 | 11 | #include 12 | 13 | #include 14 | 15 | /** 16 | * Convert 32-bit EFI errors provided by Apple to 64-bit EFI errors 17 | */ 18 | #define EFI_ERROR64(x) (((x) & ~(1ULL << 31)) | (1ULL << 63)) 19 | static_assert(EFI_LOAD_ERROR == 0x80000001 && EFI_ERROR64(EFI_LOAD_ERROR) == 0x8000000000000001, 20 | "Apple has finally upgraded EFI headers!"); 21 | 22 | class EfiRuntimeServices { 23 | IOLock *accessLock {nullptr}; 24 | static EfiRuntimeServices *instance; 25 | private: 26 | bool is32BitEFI {false}; 27 | void *efiRuntimeServices {nullptr}; 28 | 29 | /** 30 | * Set EFI runtime services table pointer 31 | */ 32 | void setRuntimeServices(); 33 | 34 | public: 35 | /** 36 | * Activates EFI Runtime Services 37 | */ 38 | static void activate(); 39 | 40 | /** 41 | * Lilu custom GUIDs exports, see OcSupportPkg/Include/Guid/OcVariables.h 42 | */ 43 | EXPORT static const EFI_GUID LiluVendorGuid; 44 | EXPORT static const EFI_GUID LiluReadOnlyGuid; 45 | EXPORT static const EFI_GUID LiluWriteOnlyGuid; 46 | 47 | /** 48 | * Get EFI Runtime Services wrapper if supported 49 | * 50 | * @param lock lock instance during the run, must be put back 51 | * 52 | * @return wrapper instance 53 | */ 54 | EXPORT static EfiRuntimeServices *get(bool lock=false); 55 | 56 | /** 57 | * Put EFI Runtime Services wrapper to unlock 58 | */ 59 | EXPORT void put(); 60 | 61 | /** 62 | * Perform system reset (does not return on success) 63 | * 64 | * @param type reset type 65 | */ 66 | EXPORT void resetSystem(EFI_RESET_TYPE type); 67 | 68 | /** 69 | * Obtain EFI variable, invokes EFI_RUNTIME_SERVICES::GetVariable. 70 | * 71 | * @param name variable name 72 | * @param guid vendor guid 73 | * @param attr variable attributes 74 | * @param size data buffer size updated on read 75 | * @param data read data 76 | * 77 | * @return EFI_STATUS code 78 | */ 79 | EXPORT uint64_t getVariable(const char16_t *name, const EFI_GUID *guid, uint32_t *attr, uint64_t *size, void *data); 80 | 81 | /** 82 | * Set EFI variable, invokes EFI_RUNTIME_SERVICES::SetVariable. 83 | * 84 | * @param name variable name 85 | * @param guid vendor guid 86 | * @param attr variable attributes 87 | * @param size data buffer size 88 | * @param data data to write 89 | * 90 | * @return EFI_STATUS code 91 | */ 92 | EXPORT uint64_t setVariable(const char16_t *name, const EFI_GUID *guid, uint32_t attr, uint64_t size, void *data); 93 | }; 94 | 95 | #endif /* kern_efi_h */ 96 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagement.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 20A241133 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | AppleIntelCPUPowerManagement 11 | CFBundleIdentifier 12 | com.apple.driver.AppleIntelCPUPowerManagement 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Intel CPU Low Level Power Management 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 222.0.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 222.0.0 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 21G113 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 12.6 37 | DTSDKBuild 38 | 21G113 39 | DTSDKName 40 | macosx12.6.internal 41 | DTXcode 42 | 1330 43 | DTXcodeBuild 44 | 13E6049a 45 | IOKitPersonalities 46 | 47 | IntelCPUPowerManagement 48 | 49 | CFBundleIdentifier 50 | com.apple.driver.AppleIntelCPUPowerManagement 51 | IOClass 52 | AppleIntelCPUPowerManagement 53 | IOMatchCategory 54 | AppleIntelCPUPowerManagement 55 | IOProviderClass 56 | IOResources 57 | IOResourceMatch 58 | IOKit 59 | 60 | 61 | LSMinimumSystemVersion 62 | 12.6 63 | NSHumanReadableCopyright 64 | Copyright © 2005-2016 Apple Inc. All rights reserved. 65 | OSBundleLibraries 66 | 67 | com.apple.kpi.bsd 68 | 8.0.0 69 | com.apple.kpi.iokit 70 | 8.0.0 71 | com.apple.kpi.libkern 72 | 8.0.0 73 | com.apple.kpi.mach 74 | 8.0.0 75 | com.apple.kpi.private 76 | 8.0.0 77 | com.apple.kpi.unsupported 78 | 8.0.0 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/HibernationFixup.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H420 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | HibernationFixup 11 | CFBundleIdentifier 12 | as.lvs1974.HibernationFixup 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | HibernationFixup 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.5.3 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.5.3 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | as.lvs1974.HibernationFixup 48 | 49 | CFBundleIdentifier 50 | as.lvs1974.HibernationFixup 51 | IOClass 52 | HibernationFixup 53 | IOMatchCategory 54 | HibernationFixup 55 | IOProviderClass 56 | IOResources 57 | IOResourceMatch 58 | IOKit 59 | 60 | 61 | LSMinimumSystemVersion 62 | 10.8 63 | NSHumanReadableCopyright 64 | Copyright © 2017 lvs1974. All rights reserved. 65 | OSBundleCompatibleVersion 66 | 1.0 67 | OSBundleLibraries 68 | 69 | as.vit9696.Lilu 70 | 1.2.4 71 | com.apple.kpi.bsd 72 | 12.0.0 73 | com.apple.kpi.dsep 74 | 12.0.0 75 | com.apple.kpi.iokit 76 | 12.0.0 77 | com.apple.kpi.libkern 78 | 12.0.0 79 | com.apple.kpi.mach 80 | 12.0.0 81 | com.apple.kpi.unsupported 82 | 12.0.0 83 | 84 | OSBundleRequired 85 | Root 86 | 87 | 88 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AMFIPass.kext/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | files2 8 | 9 | rules 10 | 11 | ^Resources/ 12 | 13 | ^Resources/.*\.lproj/ 14 | 15 | optional 16 | 17 | weight 18 | 1000 19 | 20 | ^Resources/.*\.lproj/locversion.plist$ 21 | 22 | omit 23 | 24 | weight 25 | 1100 26 | 27 | ^Resources/Base\.lproj/ 28 | 29 | weight 30 | 1010 31 | 32 | ^version.plist$ 33 | 34 | 35 | rules2 36 | 37 | .*\.dSYM($|/) 38 | 39 | weight 40 | 11 41 | 42 | ^(.*/)?\.DS_Store$ 43 | 44 | omit 45 | 46 | weight 47 | 2000 48 | 49 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 50 | 51 | nested 52 | 53 | weight 54 | 10 55 | 56 | ^.* 57 | 58 | ^Info\.plist$ 59 | 60 | omit 61 | 62 | weight 63 | 20 64 | 65 | ^PkgInfo$ 66 | 67 | omit 68 | 69 | weight 70 | 20 71 | 72 | ^Resources/ 73 | 74 | weight 75 | 20 76 | 77 | ^Resources/.*\.lproj/ 78 | 79 | optional 80 | 81 | weight 82 | 1000 83 | 84 | ^Resources/.*\.lproj/locversion.plist$ 85 | 86 | omit 87 | 88 | weight 89 | 1100 90 | 91 | ^Resources/Base\.lproj/ 92 | 93 | weight 94 | 1010 95 | 96 | ^[^/]+$ 97 | 98 | nested 99 | 100 | weight 101 | 10 102 | 103 | ^embedded\.provisionprofile$ 104 | 105 | weight 106 | 20 107 | 108 | ^version\.plist$ 109 | 110 | weight 111 | 20 112 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/USBInjectAll-Zx20.kext/Contents/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | files2 8 | 9 | rules 10 | 11 | ^Resources/ 12 | 13 | ^Resources/.*\.lproj/ 14 | 15 | optional 16 | 17 | weight 18 | 1000 19 | 20 | ^Resources/.*\.lproj/locversion.plist$ 21 | 22 | omit 23 | 24 | weight 25 | 1100 26 | 27 | ^Resources/Base\.lproj/ 28 | 29 | weight 30 | 1010 31 | 32 | ^version.plist$ 33 | 34 | 35 | rules2 36 | 37 | .*\.dSYM($|/) 38 | 39 | weight 40 | 11 41 | 42 | ^(.*/)?\.DS_Store$ 43 | 44 | omit 45 | 46 | weight 47 | 2000 48 | 49 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ 50 | 51 | nested 52 | 53 | weight 54 | 10 55 | 56 | ^.* 57 | 58 | ^Info\.plist$ 59 | 60 | omit 61 | 62 | weight 63 | 20 64 | 65 | ^PkgInfo$ 66 | 67 | omit 68 | 69 | weight 70 | 20 71 | 72 | ^Resources/ 73 | 74 | weight 75 | 20 76 | 77 | ^Resources/.*\.lproj/ 78 | 79 | optional 80 | 81 | weight 82 | 1000 83 | 84 | ^Resources/.*\.lproj/locversion.plist$ 85 | 86 | omit 87 | 88 | weight 89 | 1100 90 | 91 | ^Resources/Base\.lproj/ 92 | 93 | weight 94 | 1010 95 | 96 | ^[^/]+$ 97 | 98 | nested 99 | 100 | weight 101 | 10 102 | 103 | ^embedded\.provisionprofile$ 104 | 105 | weight 106 | 20 107 | 108 | ^version\.plist$ 109 | 110 | weight 111 | 20 112 | 113 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/hde64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Hacker Disassembler Engine 64 3 | * Copyright (c) 2008-2009, Vyacheslav Patkov. 4 | * All rights reserved. 5 | * 6 | * hde64.h: C/C++ header file 7 | * 8 | */ 9 | 10 | #ifndef _HDE64_H_ 11 | #define _HDE64_H_ 12 | 13 | #include 14 | 15 | #define F_MODRM 0x00000001 16 | #define F_SIB 0x00000002 17 | #define F_IMM8 0x00000004 18 | #define F_IMM16 0x00000008 19 | #define F_IMM32 0x00000010 20 | #define F_IMM64 0x00000020 21 | #define F_DISP8 0x00000040 22 | #define F_DISP16 0x00000080 23 | #define F_DISP32 0x00000100 24 | #define F_RELATIVE 0x00000200 25 | #define F_ERROR 0x00001000 26 | #define F_ERROR_OPCODE 0x00002000 27 | #define F_ERROR_LENGTH 0x00004000 28 | #define F_ERROR_LOCK 0x00008000 29 | #define F_ERROR_OPERAND 0x00010000 30 | #define F_PREFIX_REPNZ 0x01000000 31 | #define F_PREFIX_REPX 0x02000000 32 | #define F_PREFIX_REP 0x03000000 33 | #define F_PREFIX_66 0x04000000 34 | #define F_PREFIX_67 0x08000000 35 | #define F_PREFIX_LOCK 0x10000000 36 | #define F_PREFIX_SEG 0x20000000 37 | #define F_PREFIX_REX 0x40000000 38 | #define F_PREFIX_ANY 0x7f000000 39 | 40 | #define PREFIX_SEGMENT_CS 0x2e 41 | #define PREFIX_SEGMENT_SS 0x36 42 | #define PREFIX_SEGMENT_DS 0x3e 43 | #define PREFIX_SEGMENT_ES 0x26 44 | #define PREFIX_SEGMENT_FS 0x64 45 | #define PREFIX_SEGMENT_GS 0x65 46 | #define PREFIX_LOCK 0xf0 47 | #define PREFIX_REPNZ 0xf2 48 | #define PREFIX_REPX 0xf3 49 | #define PREFIX_OPERAND_SIZE 0x66 50 | #define PREFIX_ADDRESS_SIZE 0x67 51 | 52 | #pragma pack(push,1) 53 | 54 | typedef struct { 55 | uint8_t len; 56 | uint8_t p_rep; 57 | uint8_t p_lock; 58 | uint8_t p_seg; 59 | uint8_t p_66; 60 | uint8_t p_67; 61 | uint8_t rex; 62 | uint8_t rex_w; 63 | uint8_t rex_r; 64 | uint8_t rex_x; 65 | uint8_t rex_b; 66 | uint8_t opcode; 67 | uint8_t opcode2; 68 | uint8_t modrm; 69 | uint8_t modrm_mod; 70 | uint8_t modrm_reg; 71 | uint8_t modrm_rm; 72 | uint8_t sib; 73 | uint8_t sib_scale; 74 | uint8_t sib_index; 75 | uint8_t sib_base; 76 | union { 77 | uint8_t imm8; 78 | uint16_t imm16; 79 | uint32_t imm32; 80 | uint64_t imm64; 81 | } imm; 82 | union { 83 | uint8_t disp8; 84 | uint16_t disp16; 85 | uint32_t disp32; 86 | } disp; 87 | uint32_t flags; 88 | } hde64s; 89 | 90 | #pragma pack(pop) 91 | 92 | #ifdef __cplusplus 93 | extern "C" { 94 | #endif 95 | 96 | /* Note, code should point to at least 32 valid bytes. */ 97 | unsigned int hde64_disasm(const void *code, hde64s *hs); 98 | 99 | #ifdef __cplusplus 100 | } 101 | #endif 102 | 103 | #endif /* _HDE64_H_ */ 104 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_compression.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_compression.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_compression_hpp 9 | #define kern_compression_hpp 10 | 11 | #include 12 | 13 | #ifdef LILU_COMPRESSION_SUPPORT 14 | 15 | #include 16 | #include 17 | 18 | namespace Compression { 19 | 20 | /** 21 | * Compression constants and modes 22 | */ 23 | static constexpr uint32_t Magic {0x706D6F63}; //comp 24 | static constexpr uint32_t ModeLZVN {0x6E767A6C}; //lzvn 25 | static constexpr uint32_t ModeLZSS {0x73737A6C}; //lzss 26 | static constexpr uint32_t ModeZLIB {0x9C787A6C}; //zlib 27 | 28 | /** 29 | * Compressed header structure 30 | */ 31 | struct Header { 32 | uint32_t magic; 33 | uint32_t compression; 34 | uint32_t hash; // adler32 35 | uint32_t decompressed; 36 | uint32_t compressed; 37 | uint32_t version; 38 | uint32_t padding[90]; 39 | }; 40 | 41 | /** 42 | * Typed decompressing function (currently for lzvn, lzss, and zlib) 43 | * 44 | * @param compression compression type 45 | * @param dstlen decompression buffer size 46 | * @param src compressed data 47 | * @param srclen compressed data size 48 | * @param buffer preallocated buffer to use 49 | * 50 | * @return decompressed buffer (must be freeded by Buffer::deleter if not preallocated) 51 | */ 52 | EXPORT uint8_t *decompress(uint32_t compression, uint32_t dstlen, const uint8_t *src, uint32_t srclen, uint8_t *buffer=nullptr); 53 | 54 | /** 55 | * Typed decompressing function (currently for lzvn, lzss, and zlib) 56 | * 57 | * @param compression compression type 58 | * @param dstlen decompression buffer size, actual decompressed size on success 59 | * @param src compressed data 60 | * @param srclen compressed data size 61 | * @param buffer preallocated buffer to use 62 | * 63 | * @return decompressed buffer (must be freeded by Buffer::deleter if not preallocated) 64 | */ 65 | EXPORT uint8_t *decompress(uint32_t compression, uint32_t *dstlen, const uint8_t *src, uint32_t srclen, uint8_t *buffer=nullptr); 66 | 67 | /** 68 | * Typed compressing function (currently for lzss) 69 | * 70 | * @param compression compression type 71 | * @param dstlen maximum compression buffer size 72 | * @param src uncompressed data 73 | * @param srclen uncompressed data size 74 | * @param buffer preallocated buffer to use 75 | * 76 | * @return compressed buffer with its actual size in dstlen (must be freeded by Buffer::deleter if not preallocated) 77 | */ 78 | EXPORT uint8_t *compress(uint32_t compression, uint32_t &dstlen, const uint8_t *src, uint32_t srclen, uint8_t *buffer=nullptr); 79 | 80 | } 81 | 82 | #endif /* LILU_COMPRESSION_SUPPORT */ 83 | 84 | #endif /* kern_compression_hpp */ 85 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_crypto.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_crypto.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_crypto_h 9 | #define kern_crypto_h 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | namespace Crypto { 16 | /** 17 | * Currently this is equal to both key size and block size 18 | */ 19 | static constexpr uint32_t BlockSize = 16; 20 | 21 | /** 22 | * Currently this is guaranteed hash size 23 | */ 24 | static constexpr uint32_t MinDigestSize = 32; 25 | 26 | /** 27 | * Encrypted data format 28 | */ 29 | struct PACKED Encrypted { 30 | uint8_t iv[BlockSize]; // Initialisation vector 31 | struct PACKED Data { 32 | uint32_t size; // Actual encrypted buffer size 33 | uint8_t buf[BlockSize - sizeof(uint32_t)]; // Encrypted buffer >= BlockSize 34 | }; 35 | 36 | union { 37 | Data enc; 38 | uint8_t buf[BlockSize]; 39 | }; 40 | }; 41 | 42 | /** 43 | * Securely erase memory buffer 44 | * Based off cc_clear from corecrypto (src/cc_clear.c) 45 | * 46 | * @param len buffer length 47 | * @param dst buffer pointer 48 | */ 49 | inline void zeroMemory(size_t len, void *dst) { 50 | auto vptr = reinterpret_cast(dst); 51 | while (len--) 52 | *vptr++ = '\0'; 53 | } 54 | 55 | /** 56 | * Generates cryptographically secure encryption key (from /dev/random) 57 | * 58 | * @return generated key of at least BlockSize bits long (must be freeded by Buffer::deleter) or nullptr 59 | */ 60 | EXPORT uint8_t *genUniqueKey(uint32_t size=BlockSize); 61 | 62 | /** 63 | * Encrypts data of specified size and stores in Encrypted format 64 | * 65 | * @param key encryption key returned by genUniqueKey 66 | * @param src source data 67 | * @param size data size, encrypted size is returned on success 68 | * 69 | * @return encrypted data in Encrypted format (must be freed by Buffer::deleter) or nullptr 70 | */ 71 | EXPORT uint8_t *encrypt(const uint8_t *key, const uint8_t *src, uint32_t &size); 72 | 73 | /** 74 | * Decrypts data of specified size stored in Encrypted format 75 | * 76 | * @param key encryption key returned by genUniqueKey 77 | * @param src source data 78 | * @param size data size, decrypted size is returned on success 79 | * 80 | * @return decrypted data (must be freed by Buffer::deleter) or nullptr 81 | */ 82 | EXPORT uint8_t *decrypt(const uint8_t *key, const uint8_t *src, uint32_t &size); 83 | 84 | /** 85 | * Calculate digest of given size 86 | * 87 | * @param src source data 88 | * @param size data size 89 | * 90 | * @return digest hash of at least MinDigestSize bytes (must be freeded by Buffer::deleter) or nullptr 91 | */ 92 | EXPORT uint8_t *hash(const uint8_t *src, uint32_t size); 93 | } 94 | 95 | #endif /* kern_crypto_h */ 96 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H420 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | SMCSuperIO 11 | CFBundleIdentifier 12 | ru.joedm.SMCSuperIO 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | SMCSuperIO 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.3.6 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.3.6 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | ru.joedm.SMCSuperIO 48 | 49 | CFBundleIdentifier 50 | ru.joedm.SMCSuperIO 51 | IOClass 52 | SMCSuperIO 53 | IOMatchCategory 54 | SMCSuperIO 55 | IOPCIClassMatch 56 | 0x06010000&0xffff0000 57 | IOProviderClass 58 | IOPCIDevice 59 | IOResourceMatch 60 | ACPI 61 | 62 | 63 | LSMinimumSystemVersion 64 | 10.6 65 | NSHumanReadableCopyright 66 | Copyright © 2018 joedm. All rights reserved. 67 | OSBundleCompatibleVersion 68 | 1.0 69 | OSBundleLibraries 70 | 71 | as.vit9696.Lilu 72 | 1.2.0 73 | as.vit9696.VirtualSMC 74 | 1.0.0 75 | com.apple.iokit.IOACPIFamily 76 | 1.0.0d1 77 | com.apple.kpi.bsd 78 | 10.0.0 79 | com.apple.kpi.dsep 80 | 10.0.0 81 | com.apple.kpi.iokit 82 | 10.0.0 83 | com.apple.kpi.libkern 84 | 10.0.0 85 | com.apple.kpi.mach 86 | 10.0.0 87 | com.apple.kpi.unsupported 88 | 10.0.0 89 | 90 | OSBundleRequired 91 | Root 92 | 93 | 94 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AppleIntelCPUPowerManagementClient.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 20A241133 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | AppleIntelCPUPowerManagementClient 11 | CFBundleGetInfoString 12 | 222.0.0, Copyright © 2005-2016 Apple Inc. All rights reserved. 13 | CFBundleIdentifier 14 | com.apple.driver.AppleIntelCPUPowerManagementClient 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Intel CPU Power Management Interfaces 19 | CFBundlePackageType 20 | KEXT 21 | CFBundleShortVersionString 22 | 222.0.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleSupportedPlatforms 26 | 27 | MacOSX 28 | 29 | CFBundleVersion 30 | 222.0.0 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 21G113 35 | DTPlatformName 36 | macosx 37 | DTPlatformVersion 38 | 12.6 39 | DTSDKBuild 40 | 21G113 41 | DTSDKName 42 | macosx12.6.internal 43 | DTXcode 44 | 1330 45 | DTXcodeBuild 46 | 13E6049a 47 | IOKitPersonalities 48 | 49 | IntelCPUPowerManagementClient 50 | 51 | CFBundleIdentifier 52 | com.apple.driver.AppleIntelCPUPowerManagementClient 53 | IOClass 54 | AppleIntelCPUPowerManagementClient 55 | IOMatchCategory 56 | AppleIntelCPUPowerManagementDriver 57 | IOProbeScore 58 | 0 59 | IOProviderClass 60 | AppleIntelCPUPowerManagement 61 | IOResourceMatch 62 | IOBSD 63 | 64 | 65 | LSMinimumSystemVersion 66 | 12.6 67 | NSHumanReadableCopyright 68 | Copyright © 2005-2016 Apple Inc. All rights reserved. 69 | OSBundleLibraries 70 | 71 | com.apple.kpi.bsd 72 | 8.0.0 73 | com.apple.kpi.iokit 74 | 8.0.0 75 | com.apple.kpi.libkern 76 | 8.0.0 77 | com.apple.kpi.mach 78 | 8.0.0 79 | com.apple.kpi.private 80 | 8.0.0 81 | com.apple.kpi.unsupported 82 | 8.0.0 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H420 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | SMCProcessor 11 | CFBundleIdentifier 12 | as.vit9696.SMCProcessor 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | SMCProcessor 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.3.6 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.3.6 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | as.vit9696.SMCProcessor 48 | 49 | CFBundleIdentifier 50 | as.vit9696.SMCProcessor 51 | IOClass 52 | SMCProcessor 53 | IOMatchCategory 54 | SMCProcessor 55 | IONameMatch 56 | processor 57 | IOPropertyMatch 58 | 59 | processor-index 60 | 0 61 | 62 | IOProviderClass 63 | IOACPIPlatformDevice 64 | IOResourceMatch 65 | ACPI 66 | 67 | 68 | LSMinimumSystemVersion 69 | 10.7 70 | NSHumanReadableCopyright 71 | Copyright © 2018 vit9696. All rights reserved. 72 | OSBundleCompatibleVersion 73 | 1.0 74 | OSBundleLibraries 75 | 76 | as.vit9696.Lilu 77 | 1.2.0 78 | as.vit9696.VirtualSMC 79 | 1.0.0 80 | com.apple.iokit.IOACPIFamily 81 | 1.0.0d1 82 | com.apple.kpi.bsd 83 | 11.0.0 84 | com.apple.kpi.dsep 85 | 11.0.0 86 | com.apple.kpi.iokit 87 | 11.0.0 88 | com.apple.kpi.libkern 89 | 11.0.0 90 | com.apple.kpi.mach 91 | 11.0.0 92 | com.apple.kpi.unsupported 93 | 11.0.0 94 | 95 | OSBundleRequired 96 | Root 97 | 98 | 99 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H222 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | Lilu 11 | CFBundleIdentifier 12 | as.vit9696.Lilu 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Lilu 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.7.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.7.0 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | as.vit9696.Lilu 48 | 49 | CFBundleIdentifier 50 | as.vit9696.Lilu 51 | IOClass 52 | Lilu 53 | IOMatchCategory 54 | Lilu 55 | IOProviderClass 56 | IOResources 57 | IOResourceMatch 58 | IOBSD 59 | 60 | 61 | LSMinimumSystemVersion 62 | 10.6 63 | NSHumanReadableCopyright 64 | Copyright © 2016-2020 vit9696. All rights reserved. 65 | OSBundleCompatibleVersion 66 | 1.2.0 67 | OSBundleLibraries 68 | 69 | com.apple.kernel.6.0 70 | 7.9.9 71 | com.apple.kpi.bsd 72 | 8.0.0 73 | com.apple.kpi.iokit 74 | 8.0.0 75 | com.apple.kpi.libkern 76 | 8.0.0 77 | com.apple.kpi.mach 78 | 8.0.0 79 | com.apple.kpi.unsupported 80 | 8.0.0 81 | 82 | OSBundleLibraries_x86_64 83 | 84 | com.apple.kpi.bsd 85 | 10.0.0 86 | com.apple.kpi.dsep 87 | 10.0.0 88 | com.apple.kpi.iokit 89 | 10.0.0 90 | com.apple.kpi.libkern 91 | 10.0.0 92 | com.apple.kpi.mach 93 | 10.0.0 94 | com.apple.kpi.unsupported 95 | 10.0.0 96 | 97 | OSBundleRequired 98 | Root 99 | 100 | 101 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_time.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_time.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2018 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_time_hpp 9 | #define kern_time_hpp 10 | 11 | #include 12 | 13 | /** 14 | * Obtain current system time in nanoseconds 15 | * 16 | * @return current time 17 | */ 18 | inline uint64_t getCurrentTimeNs() { 19 | uint64_t currt = 0; 20 | absolutetime_to_nanoseconds(mach_absolute_time(), &currt); 21 | return currt; 22 | } 23 | 24 | /** 25 | * Obtain current calendar system time in nanoseconds 26 | * 27 | * @return current time 28 | */ 29 | inline uint64_t getCalendarTimeNs() { 30 | clock_sec_t sc; 31 | clock_nsec_t ns; 32 | clock_get_calendar_nanotime(&sc, &ns); 33 | return static_cast(sc) * NSEC_PER_SEC + ns; 34 | } 35 | 36 | /** 37 | * Obtain time passed since some timestamp in nanoseconds 38 | * 39 | * @param start starting timestamp 40 | * @param current timestamp to check against (pass 0 for current time) 41 | * 42 | * @return delta or 0 (if current time equals or precedeces the start) 43 | */ 44 | inline uint64_t getTimeSinceNs(uint64_t start, uint64_t current = 0) { 45 | if (current == 0) 46 | current = getCurrentTimeNs(); 47 | if (current > start) 48 | return current - start; 49 | return 0; 50 | } 51 | 52 | /** 53 | * Obtain time left till a timestamp in the future in nanoseconds 54 | * 55 | * @param start starting timestamp 56 | * @param timeout timeout for the event 57 | * @param current timestamp to check against (pass 0 for current time) 58 | * 59 | * @return delta or 0 (if the timeout is over) 60 | */ 61 | inline uint64_t getTimeLeftNs(uint64_t start, uint64_t timeout, uint64_t current = 0) { 62 | if (current == 0) 63 | current = getCurrentTimeNs(); 64 | if (start + timeout > current) 65 | return start + timeout - current; 66 | return 0; 67 | } 68 | 69 | /** 70 | * Convert from nanoseconds to milliseconds 71 | * 72 | * @param t timestamp in ns 73 | * 74 | * @return timestamp in ms 75 | */ 76 | constexpr uint64_t convertNsToMs(uint64_t t) { 77 | return t / 1000000; 78 | } 79 | 80 | /** 81 | * Convert from nanoseconds to seconds 82 | * 83 | * @param t timestamp in ns 84 | * 85 | * @return timestamp in s 86 | */ 87 | constexpr uint64_t convertNsToSc(uint64_t t) { 88 | return t / 1000000000; 89 | } 90 | 91 | /** 92 | * Convert from milliseconds to seconds 93 | * 94 | * @param t timestamp in ms 95 | * 96 | * @return timestamp in s 97 | */ 98 | constexpr uint64_t convertMsToSc(uint64_t t) { 99 | return t / 1000; 100 | } 101 | 102 | /** 103 | * Convert from milliseconds to nanoseconds 104 | * 105 | * @param t timestamp in ms 106 | * 107 | * @return timestamp in ns 108 | */ 109 | constexpr uint64_t convertMsToNs(uint64_t t) { 110 | return t * 1000000; 111 | } 112 | 113 | /** 114 | * Convert from seconds to nanoseconds 115 | * 116 | * @param t timestamp in s 117 | * 118 | * @return timestamp in ns 119 | */ 120 | constexpr uint64_t convertScToNs(uint64_t t) { 121 | return t * 1000000000; 122 | } 123 | 124 | /** 125 | * Convert from seconds to milliseconds 126 | * 127 | * @param t timestamp in s 128 | * 129 | * @return timestamp in ms 130 | */ 131 | constexpr uint64_t convertScToMs(uint64_t t) { 132 | return t * 1000; 133 | } 134 | 135 | #endif /* kern_time_hpp */ 136 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Library/plugin_start.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // plugin_start.cpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #ifndef LILU_CUSTOM_KMOD_INIT 14 | bool ADDPR(startSuccess) = false; 15 | #else 16 | // Workaround custom kmod code and enable by default 17 | bool ADDPR(startSuccess) = true; 18 | #endif /* LILU_CUSTOM_KMOD_INIT */ 19 | 20 | bool ADDPR(debugEnabled) = false; 21 | uint32_t ADDPR(debugPrintDelay) = 0; 22 | 23 | #ifndef LILU_CUSTOM_IOKIT_INIT 24 | 25 | OSDefineMetaClassAndStructors(PRODUCT_NAME, IOService) 26 | 27 | PRODUCT_NAME *ADDPR(selfInstance) = nullptr; 28 | 29 | IOService *PRODUCT_NAME::probe(IOService *provider, SInt32 *score) { 30 | ADDPR(selfInstance) = this; 31 | setProperty("VersionInfo", kextVersion); 32 | auto service = IOService::probe(provider, score); 33 | return ADDPR(startSuccess) ? service : nullptr; 34 | } 35 | 36 | bool PRODUCT_NAME::start(IOService *provider) { 37 | ADDPR(selfInstance) = this; 38 | if (!IOService::start(provider)) { 39 | SYSLOG("init", "failed to start the parent"); 40 | return false; 41 | } 42 | 43 | return ADDPR(startSuccess); 44 | } 45 | 46 | void PRODUCT_NAME::stop(IOService *provider) { 47 | ADDPR(selfInstance) = nullptr; 48 | IOService::stop(provider); 49 | } 50 | 51 | #endif /* LILU_CUSTOM_IOKIT_INIT */ 52 | 53 | #ifndef LILU_CUSTOM_KMOD_INIT 54 | 55 | EXPORT extern "C" kern_return_t ADDPR(kern_start)(kmod_info_t *, void *) { 56 | // This is an ugly hack necessary on some systems where buffering kills most of debug output. 57 | lilu_get_boot_args("liludelay", &ADDPR(debugPrintDelay), sizeof(ADDPR(debugPrintDelay))); 58 | 59 | auto error = lilu.requestAccess(); 60 | if (error == LiluAPI::Error::NoError) { 61 | error = lilu.shouldLoad(ADDPR(config).product, ADDPR(config).version, ADDPR(config).runmode, ADDPR(config).disableArg, ADDPR(config).disableArgNum, 62 | ADDPR(config).debugArg, ADDPR(config).debugArgNum, ADDPR(config).betaArg, ADDPR(config).betaArgNum, ADDPR(config).minKernel, 63 | ADDPR(config).maxKernel, ADDPR(debugEnabled)); 64 | 65 | if (error == LiluAPI::Error::NoError) { 66 | DBGLOG("init", "%s bootstrap %s", xStringify(PRODUCT_NAME), kextVersion); 67 | (void)kextVersion; 68 | ADDPR(startSuccess) = true; 69 | ADDPR(config).pluginStart(); 70 | } else { 71 | SYSLOG("init", "parent said we should not continue %d", error); 72 | } 73 | 74 | lilu.releaseAccess(); 75 | } else { 76 | SYSLOG("init", "failed to call parent %d", error); 77 | } 78 | 79 | for (size_t i = 0; i < ADDPR(config).debugArgNum; i++) { 80 | if (checkKernelArgument(ADDPR(config).debugArg[i])) { 81 | ADDPR(debugEnabled) = true; 82 | break; 83 | } 84 | } 85 | 86 | if (checkKernelArgument("-liludbgall")) 87 | ADDPR(debugEnabled) = true; 88 | 89 | // Report success but actually do not start and let I/O Kit unload us. 90 | // This works better and increases boot speed in some cases. 91 | return KERN_SUCCESS; 92 | } 93 | 94 | EXPORT extern "C" kern_return_t ADDPR(kern_stop)(kmod_info_t *, void *) { 95 | // It is not safe to unload Lilu plugins unless they were disabled! 96 | return ADDPR(startSuccess) ? KERN_FAILURE : KERN_SUCCESS; 97 | } 98 | 99 | #endif /* LILU_CUSTOM_KMOD_INIT */ 100 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/WhateverGreen.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H222 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | WhateverGreen 11 | CFBundleIdentifier 12 | as.vit9696.WhateverGreen 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | WhateverGreen 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.6.9 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.6.9 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | NVHDAEnabler 48 | 49 | CFBundleIdentifier 50 | as.vit9696.WhateverGreen 51 | IOClass 52 | NVHDAEnabler 53 | IOMatchCategory 54 | IOFramebuffer 55 | IOPCIClassMatch 56 | 0x03000000&0xff000000 57 | IOPCIMatch 58 | 0x000010de&0x0000ffff 59 | IOProbeScore 60 | 300000 61 | IOProviderClass 62 | IOPCIDevice 63 | 64 | as.vit9696.WhateverGreen 65 | 66 | CFBundleIdentifier 67 | as.vit9696.WhateverGreen 68 | IOClass 69 | WhateverGreen 70 | IOMatchCategory 71 | WhateverGreen 72 | IOProviderClass 73 | IOResources 74 | IOResourceMatch 75 | IOKit 76 | 77 | 78 | LSMinimumSystemVersion 79 | 10.6 80 | NSHumanReadableCopyright 81 | Copyright © 2018 vit9696. All rights reserved. 82 | OSBundleCompatibleVersion 83 | 1.0 84 | OSBundleLibraries 85 | 86 | as.vit9696.Lilu 87 | 1.2.0 88 | com.apple.iokit.IOPCIFamily 89 | 1.0.0b1 90 | com.apple.kpi.bsd 91 | 10.0.0 92 | com.apple.kpi.dsep 93 | 10.0.0 94 | com.apple.kpi.iokit 95 | 10.0.0 96 | com.apple.kpi.libkern 97 | 10.0.0 98 | com.apple.kpi.mach 99 | 10.0.0 100 | com.apple.kpi.unsupported 101 | 10.0.0 102 | 103 | OSBundleRequired 104 | Root 105 | 106 | 107 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/capstone/platform.h: -------------------------------------------------------------------------------- 1 | /* Capstone Disassembly Engine */ 2 | /* By Axel Souchet & Nguyen Anh Quynh, 2014 */ 3 | 4 | #ifndef CAPSTONE_PLATFORM_H 5 | #define CAPSTONE_PLATFORM_H 6 | 7 | // handle C99 issue (for pre-2013 VisualStudio) 8 | #if !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__MINGW64__) && (defined (WIN32) || defined (WIN64) || defined (_WIN32) || defined (_WIN64)) 9 | // MSVC 10 | 11 | // stdbool.h 12 | #if (_MSC_VER < 1800) || defined(_KERNEL_MODE) 13 | // this system does not have stdbool.h 14 | #ifndef __cplusplus 15 | typedef unsigned char bool; 16 | #define false 0 17 | #define true 1 18 | #endif 19 | 20 | #else 21 | // VisualStudio 2013+ -> C99 is supported 22 | #include 23 | #endif 24 | 25 | #else 26 | // not MSVC -> C99 is supported 27 | #include 28 | #endif 29 | 30 | 31 | // handle C99 issue (for pre-2013 VisualStudio) 32 | #if defined(CAPSTONE_HAS_OSXKERNEL) || (defined(_MSC_VER) && (_MSC_VER <= 1700 || defined(_KERNEL_MODE))) 33 | // this system does not have inttypes.h 34 | 35 | #if defined(_MSC_VER) && (_MSC_VER < 1600 || defined(_KERNEL_MODE)) 36 | // this system does not have stdint.h 37 | typedef signed char int8_t; 38 | typedef signed short int16_t; 39 | typedef signed int int32_t; 40 | typedef unsigned char uint8_t; 41 | typedef unsigned short uint16_t; 42 | typedef unsigned int uint32_t; 43 | typedef signed long long int64_t; 44 | typedef unsigned long long uint64_t; 45 | 46 | #define INT8_MIN (-127i8 - 1) 47 | #define INT16_MIN (-32767i16 - 1) 48 | #define INT32_MIN (-2147483647i32 - 1) 49 | #define INT64_MIN (-9223372036854775807i64 - 1) 50 | #define INT8_MAX 127i8 51 | #define INT16_MAX 32767i16 52 | #define INT32_MAX 2147483647i32 53 | #define INT64_MAX 9223372036854775807i64 54 | #define UINT8_MAX 0xffui8 55 | #define UINT16_MAX 0xffffui16 56 | #define UINT32_MAX 0xffffffffui32 57 | #define UINT64_MAX 0xffffffffffffffffui64 58 | #endif 59 | 60 | #define __PRI_8_LENGTH_MODIFIER__ "hh" 61 | #define __PRI_64_LENGTH_MODIFIER__ "ll" 62 | 63 | #define PRId8 __PRI_8_LENGTH_MODIFIER__ "d" 64 | #define PRIi8 __PRI_8_LENGTH_MODIFIER__ "i" 65 | #define PRIo8 __PRI_8_LENGTH_MODIFIER__ "o" 66 | #define PRIu8 __PRI_8_LENGTH_MODIFIER__ "u" 67 | #define PRIx8 __PRI_8_LENGTH_MODIFIER__ "x" 68 | #define PRIX8 __PRI_8_LENGTH_MODIFIER__ "X" 69 | 70 | #define PRId16 "hd" 71 | #define PRIi16 "hi" 72 | #define PRIo16 "ho" 73 | #define PRIu16 "hu" 74 | #define PRIx16 "hx" 75 | #define PRIX16 "hX" 76 | 77 | #if defined(_MSC_VER) && _MSC_VER <= 1700 78 | #define PRId32 "ld" 79 | #define PRIi32 "li" 80 | #define PRIo32 "lo" 81 | #define PRIu32 "lu" 82 | #define PRIx32 "lx" 83 | #define PRIX32 "lX" 84 | #else // OSX 85 | #define PRId32 "d" 86 | #define PRIi32 "i" 87 | #define PRIo32 "o" 88 | #define PRIu32 "u" 89 | #define PRIx32 "x" 90 | #define PRIX32 "X" 91 | #endif 92 | 93 | #if defined(_MSC_VER) && _MSC_VER <= 1700 94 | // redefine functions from inttypes.h used in cstool 95 | #define strtoull _strtoui64 96 | #endif 97 | 98 | #define PRId64 __PRI_64_LENGTH_MODIFIER__ "d" 99 | #define PRIi64 __PRI_64_LENGTH_MODIFIER__ "i" 100 | #define PRIo64 __PRI_64_LENGTH_MODIFIER__ "o" 101 | #define PRIu64 __PRI_64_LENGTH_MODIFIER__ "u" 102 | #define PRIx64 __PRI_64_LENGTH_MODIFIER__ "x" 103 | #define PRIX64 __PRI_64_LENGTH_MODIFIER__ "X" 104 | 105 | #else 106 | // this system has inttypes.h by default 107 | #include 108 | #endif 109 | 110 | #endif 111 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/IntelMausi.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H222 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | IntelMausi 11 | CFBundleIdentifier 12 | as.acidanthera.mieze.IntelMausi 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | IntelMausi 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.0.8 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.0.8 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | IntelMausi 48 | 49 | CFBundleIdentifier 50 | as.acidanthera.mieze.IntelMausi 51 | Driver Parameters 52 | 53 | enableCSO6 54 | 55 | enableWakeOnAddrMatch 56 | 57 | maxIntrRate10 58 | 3000 59 | maxIntrRate100 60 | 5000 61 | maxIntrRate1000 62 | 8000 63 | rxAbsTime10 64 | 0 65 | rxAbsTime100 66 | 0 67 | rxAbsTime1000 68 | 10 69 | rxDelayTime10 70 | 0 71 | rxDelayTime100 72 | 0 73 | rxDelayTime1000 74 | 0 75 | 76 | Driver_Version 77 | 1.0.8 78 | IOClass 79 | IntelMausi 80 | IOPCIMatch 81 | 0x10EA8086 0x10EB8086 0x10EF8086 0x10F08086 0x15028086 0x15038086 0x153A8086 0x153B8086 0x155A8086 0x15598086 0x15A08086 0x15A18086 0x15A28086 0x15A38086 0x156F8086 0x15708086 0x15B78086 0x15B88086 0x15D78086 0x15D88086 0x15E38086 0x15D68086 0x15BD8086 0x15BE8086 0x15BB8086 0x15BC8086 0x15DF8086 0x15E08086 0x15E18086 0x15E28086 0x15B98086 0x0D4E8086 0x0D4F8086 0x0D4C8086 0x0D4D8086 0x0D538086 0x0D558086 0x15FB8086 0x15FC8086 0x15F98086 0x15FA8086 0x15F48086 0x15F58086 0x1A1E8086 0x1A1F8086 0x1A1C8086 0x1A1D8086 0x550A8086 0x550B8086 0x550C8086 0x550D8086 82 | IOProbeScore 83 | 1000 84 | IOProviderClass 85 | IOPCIDevice 86 | 87 | 88 | LSMinimumSystemVersion 89 | 10.9 90 | NSHumanReadableCopyright 91 | Copyright © 2014 Laura Müller. All rights reserved. 92 | OSBundleLibraries 93 | 94 | com.apple.iokit.IONetworkingFamily 95 | 1.5.0 96 | com.apple.iokit.IOPCIFamily 97 | 1.7 98 | com.apple.kpi.bsd 99 | 8.10.0 100 | com.apple.kpi.iokit 101 | 8.10.0 102 | com.apple.kpi.libkern 103 | 8.10.0 104 | com.apple.kpi.mach 105 | 8.10.0 106 | 107 | OSBundleRequired 108 | Network-Root 109 | 110 | 111 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/AstekFusion2Adapter.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11G63 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | AstekFusion2Adapter 11 | CFBundleGetInfoString 12 | 2.62 121912a, Copyright (c) 2010-2012, Astek Corporation 13 | CFBundleIdentifier 14 | com.astekcorp.driver.AstekFusion2Adapter 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 2.62 21 | CFBundleSignature 22 | ASTK 23 | CFBundleVersion 24 | 2.62 121912a 25 | DTCompiler 26 | com.apple.compilers.llvm.clang.1_0 27 | DTPlatformBuild 28 | 4D502 29 | DTPlatformVersion 30 | GM 31 | DTSDKBuild 32 | 10K549 33 | DTSDKName 34 | macosx10.6 35 | DTXcode 36 | 0421 37 | DTXcodeBuild 38 | 4D502 39 | IOKitDebug 40 | 65535 41 | IOKitPersonalities 42 | 43 | AstekFusion2Adapter 44 | 45 | AdapterName 46 | AstekFusion2 47 | CFBundleIdentifier 48 | com.astekcorp.driver.AstekFusion2Adapter 49 | Helion_Activation 50 | 51 | removeme 52 | 53 | Helion_OEM_Strings 54 | 55 | 7L-000012-A 56 | Xtore 57 | 7L-000002-A 58 | Astek Corporation 59 | 7L-000003-A 60 | Astek Corporation 61 | OWCJ6GHPCI2E 62 | Other World Computing 63 | 64 | IOClass 65 | com_astekcorp_driver_AstekFusion2Adapter 66 | IOMaximumSegmentByteCountRead 67 | 16777215 68 | IOMaximumSegmentByteCountWrite 69 | 16777215 70 | IOMaximumSegmentCountRead 71 | 128 72 | IOMaximumSegmentCountWrite 73 | 128 74 | IOMediaIcon 75 | 76 | CFBundleIdentifier 77 | com.apple.iokit.IOSCSIArchitectureModelFamily 78 | IOBundleResourceFile 79 | Internal.icns 80 | 81 | IOPCIPrimaryMatch 82 | 0x00641000&0xFFFFFFFF 0x00651000&0xFFFFFFFF 0x00701000&0xFFFFFFFF 0x00721000&0xFFFFFFFF 0x007E1000&0xFFFFFFFF 0x00861000&0xFFFFFFFF 0x00871000&0xFFFFFFFF 0x006E1000&0xFFFFFFFF 83 | IOPCITunnelCompatible 84 | 85 | IOProbeScore 86 | 100 87 | IOProviderClass 88 | IOPCIDevice 89 | IOUnitName 90 | disk 91 | IOUserClientClass 92 | com_astekcorp_driver_AstekFusionUserClient 93 | Protocol Characteristics 94 | 95 | Physical Interconnect 96 | SAS 97 | Physical Interconnect Location 98 | Internal 99 | 100 | Read Time Out Duration 101 | 30000 102 | SpinDown 103 | 104 | Write Time Out Duration 105 | 30000 106 | 107 | 108 | OSBundleEnableKextLogging 109 | 110 | OSBundleLibraries 111 | 112 | com.apple.iokit.IOPCIFamily 113 | 1.0b1 114 | com.apple.iokit.IOSCSIParallelFamily 115 | 1.2 116 | com.apple.kpi.iokit 117 | 7.0 118 | com.apple.kpi.libkern 119 | 8.0d0 120 | com.apple.kpi.mach 121 | 10.3 122 | com.astekcorp.driver.AstekFusion2Family 123 | 2.62 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/capstone/xcore.h: -------------------------------------------------------------------------------- 1 | #ifndef CAPSTONE_XCORE_H 2 | #define CAPSTONE_XCORE_H 3 | 4 | /* Capstone Disassembly Engine */ 5 | /* By Nguyen Anh Quynh , 2014 */ 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #if !defined(_MSC_VER) || !defined(_KERNEL_MODE) 12 | #include 13 | #endif 14 | 15 | #include "platform.h" 16 | 17 | #ifdef _MSC_VER 18 | #pragma warning(disable:4201) 19 | #endif 20 | 21 | //> Operand type for instruction's operands 22 | typedef enum xcore_op_type { 23 | XCORE_OP_INVALID = 0, // = CS_OP_INVALID (Uninitialized). 24 | XCORE_OP_REG, // = CS_OP_REG (Register operand). 25 | XCORE_OP_IMM, // = CS_OP_IMM (Immediate operand). 26 | XCORE_OP_MEM, // = CS_OP_MEM (Memory operand). 27 | } xcore_op_type; 28 | 29 | // Instruction's operand referring to memory 30 | // This is associated with XCORE_OP_MEM operand type above 31 | typedef struct xcore_op_mem { 32 | uint8_t base; // base register 33 | uint8_t index; // index register 34 | int32_t disp; // displacement/offset value 35 | int direct; // +1: forward, -1: backward 36 | } xcore_op_mem; 37 | 38 | // Instruction operand 39 | typedef struct cs_xcore_op { 40 | xcore_op_type type; // operand type 41 | union { 42 | unsigned int reg; // register value for REG operand 43 | int32_t imm; // immediate value for IMM operand 44 | xcore_op_mem mem; // base/disp value for MEM operand 45 | }; 46 | } cs_xcore_op; 47 | 48 | // Instruction structure 49 | typedef struct cs_xcore { 50 | // Number of operands of this instruction, 51 | // or 0 when instruction has no operand. 52 | uint8_t op_count; 53 | cs_xcore_op operands[8]; // operands for this instruction. 54 | } cs_xcore; 55 | 56 | //> XCore registers 57 | typedef enum xcore_reg { 58 | XCORE_REG_INVALID = 0, 59 | 60 | XCORE_REG_CP, 61 | XCORE_REG_DP, 62 | XCORE_REG_LR, 63 | XCORE_REG_SP, 64 | XCORE_REG_R0, 65 | XCORE_REG_R1, 66 | XCORE_REG_R2, 67 | XCORE_REG_R3, 68 | XCORE_REG_R4, 69 | XCORE_REG_R5, 70 | XCORE_REG_R6, 71 | XCORE_REG_R7, 72 | XCORE_REG_R8, 73 | XCORE_REG_R9, 74 | XCORE_REG_R10, 75 | XCORE_REG_R11, 76 | 77 | //> pseudo registers 78 | XCORE_REG_PC, // pc 79 | 80 | // internal thread registers 81 | // see The-XMOS-XS1-Architecture(X7879A).pdf 82 | XCORE_REG_SCP, // save pc 83 | XCORE_REG_SSR, // save status 84 | XCORE_REG_ET, // exception type 85 | XCORE_REG_ED, // exception data 86 | XCORE_REG_SED, // save exception data 87 | XCORE_REG_KEP, // kernel entry pointer 88 | XCORE_REG_KSP, // kernel stack pointer 89 | XCORE_REG_ID, // thread ID 90 | 91 | XCORE_REG_ENDING, // <-- mark the end of the list of registers 92 | } xcore_reg; 93 | 94 | //> XCore instruction 95 | typedef enum xcore_insn { 96 | XCORE_INS_INVALID = 0, 97 | 98 | XCORE_INS_ADD, 99 | XCORE_INS_ANDNOT, 100 | XCORE_INS_AND, 101 | XCORE_INS_ASHR, 102 | XCORE_INS_BAU, 103 | XCORE_INS_BITREV, 104 | XCORE_INS_BLA, 105 | XCORE_INS_BLAT, 106 | XCORE_INS_BL, 107 | XCORE_INS_BF, 108 | XCORE_INS_BT, 109 | XCORE_INS_BU, 110 | XCORE_INS_BRU, 111 | XCORE_INS_BYTEREV, 112 | XCORE_INS_CHKCT, 113 | XCORE_INS_CLRE, 114 | XCORE_INS_CLRPT, 115 | XCORE_INS_CLRSR, 116 | XCORE_INS_CLZ, 117 | XCORE_INS_CRC8, 118 | XCORE_INS_CRC32, 119 | XCORE_INS_DCALL, 120 | XCORE_INS_DENTSP, 121 | XCORE_INS_DGETREG, 122 | XCORE_INS_DIVS, 123 | XCORE_INS_DIVU, 124 | XCORE_INS_DRESTSP, 125 | XCORE_INS_DRET, 126 | XCORE_INS_ECALLF, 127 | XCORE_INS_ECALLT, 128 | XCORE_INS_EDU, 129 | XCORE_INS_EEF, 130 | XCORE_INS_EET, 131 | XCORE_INS_EEU, 132 | XCORE_INS_ENDIN, 133 | XCORE_INS_ENTSP, 134 | XCORE_INS_EQ, 135 | XCORE_INS_EXTDP, 136 | XCORE_INS_EXTSP, 137 | XCORE_INS_FREER, 138 | XCORE_INS_FREET, 139 | XCORE_INS_GETD, 140 | XCORE_INS_GET, 141 | XCORE_INS_GETN, 142 | XCORE_INS_GETR, 143 | XCORE_INS_GETSR, 144 | XCORE_INS_GETST, 145 | XCORE_INS_GETTS, 146 | XCORE_INS_INCT, 147 | XCORE_INS_INIT, 148 | XCORE_INS_INPW, 149 | XCORE_INS_INSHR, 150 | XCORE_INS_INT, 151 | XCORE_INS_IN, 152 | XCORE_INS_KCALL, 153 | XCORE_INS_KENTSP, 154 | XCORE_INS_KRESTSP, 155 | XCORE_INS_KRET, 156 | XCORE_INS_LADD, 157 | XCORE_INS_LD16S, 158 | XCORE_INS_LD8U, 159 | XCORE_INS_LDA16, 160 | XCORE_INS_LDAP, 161 | XCORE_INS_LDAW, 162 | XCORE_INS_LDC, 163 | XCORE_INS_LDW, 164 | XCORE_INS_LDIVU, 165 | XCORE_INS_LMUL, 166 | XCORE_INS_LSS, 167 | XCORE_INS_LSUB, 168 | XCORE_INS_LSU, 169 | XCORE_INS_MACCS, 170 | XCORE_INS_MACCU, 171 | XCORE_INS_MJOIN, 172 | XCORE_INS_MKMSK, 173 | XCORE_INS_MSYNC, 174 | XCORE_INS_MUL, 175 | XCORE_INS_NEG, 176 | XCORE_INS_NOT, 177 | XCORE_INS_OR, 178 | XCORE_INS_OUTCT, 179 | XCORE_INS_OUTPW, 180 | XCORE_INS_OUTSHR, 181 | XCORE_INS_OUTT, 182 | XCORE_INS_OUT, 183 | XCORE_INS_PEEK, 184 | XCORE_INS_REMS, 185 | XCORE_INS_REMU, 186 | XCORE_INS_RETSP, 187 | XCORE_INS_SETCLK, 188 | XCORE_INS_SET, 189 | XCORE_INS_SETC, 190 | XCORE_INS_SETD, 191 | XCORE_INS_SETEV, 192 | XCORE_INS_SETN, 193 | XCORE_INS_SETPSC, 194 | XCORE_INS_SETPT, 195 | XCORE_INS_SETRDY, 196 | XCORE_INS_SETSR, 197 | XCORE_INS_SETTW, 198 | XCORE_INS_SETV, 199 | XCORE_INS_SEXT, 200 | XCORE_INS_SHL, 201 | XCORE_INS_SHR, 202 | XCORE_INS_SSYNC, 203 | XCORE_INS_ST16, 204 | XCORE_INS_ST8, 205 | XCORE_INS_STW, 206 | XCORE_INS_SUB, 207 | XCORE_INS_SYNCR, 208 | XCORE_INS_TESTCT, 209 | XCORE_INS_TESTLCL, 210 | XCORE_INS_TESTWCT, 211 | XCORE_INS_TSETMR, 212 | XCORE_INS_START, 213 | XCORE_INS_WAITEF, 214 | XCORE_INS_WAITET, 215 | XCORE_INS_WAITEU, 216 | XCORE_INS_XOR, 217 | XCORE_INS_ZEXT, 218 | 219 | XCORE_INS_ENDING, // <-- mark the end of the list of instructions 220 | } xcore_insn; 221 | 222 | //> Group of XCore instructions 223 | typedef enum xcore_insn_group { 224 | XCORE_GRP_INVALID = 0, // = CS_GRP_INVALID 225 | 226 | //> Generic groups 227 | // all jump instructions (conditional+direct+indirect jumps) 228 | XCORE_GRP_JUMP, // = CS_GRP_JUMP 229 | 230 | XCORE_GRP_ENDING, // <-- mark the end of the list of groups 231 | } xcore_insn_group; 232 | 233 | #ifdef __cplusplus 234 | } 235 | #endif 236 | 237 | #endif 238 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_disasm.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_disasm.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_disasm_hpp 9 | #define kern_disasm_hpp 10 | 11 | #include 12 | #include 13 | 14 | #if defined(__i386__) 15 | #include 16 | #elif defined(__x86_64__) 17 | #include 18 | #else 19 | #error Unsupported arch. 20 | #endif 21 | 22 | #ifdef LILU_ADVANCED_DISASSEMBLY 23 | #ifndef CAPSTONE_HAS_OSXKERNEL 24 | #define CAPSTONE_HAS_OSXKERNEL 1 25 | #endif 26 | #include 27 | #endif /* LILU_ADVANCED_DISASSEMBLY */ 28 | 29 | #include 30 | #include 31 | 32 | class Disassembler { 33 | #ifdef LILU_ADVANCED_DISASSEMBLY 34 | /** 35 | * Because captsone handle can be 0 36 | */ 37 | bool initialised {false}; 38 | 39 | /** 40 | * Internal capstone handle 41 | */ 42 | size_t handle {}; 43 | #endif 44 | 45 | /** 46 | * Max instruction size 47 | */ 48 | static constexpr size_t MaxInstruction {15}; 49 | public: 50 | 51 | #if defined(__i386__) 52 | using hde_t = hde32s; 53 | static constexpr auto hde_disasm = hde32_disasm; 54 | #elif defined(__x86_64__) 55 | using hde_t = hde64s; 56 | static constexpr auto hde_disasm = hde64_disasm; 57 | #else 58 | #error Unsupported arch. 59 | #endif 60 | 61 | /** 62 | * Return the real instruction size contained within min bytes 63 | * Unlike instructionSize this uses HDE engine and at the cost of reduced compatibility it is much faster 64 | * Note: instruction pointer should point to at least min + 32 valid bytes. 65 | * 66 | * @param ptr instruction pointer 67 | * @param min minimal possible size 68 | * 69 | * @return instruction size >= min on success or 0 70 | */ 71 | EXPORT static size_t quickInstructionSize(mach_vm_address_t ptr, size_t min); 72 | 73 | /* Note, code should point to at least 32 valid bytes. */ 74 | EXPORT static size_t hdeDisasm(mach_vm_address_t code, hde_t *hs); 75 | 76 | #ifdef LILU_ADVANCED_DISASSEMBLY 77 | 78 | /** 79 | * Initialise advanced dissassembling framework 80 | * 81 | * @param detailed debugging output necessity 82 | * 83 | * @return true on success 84 | */ 85 | EXPORT bool init(bool detailed=false); 86 | 87 | /** 88 | * Deinitialise advanced dissassembling framework, must be called regardless of the init error 89 | */ 90 | EXPORT void deinit(); 91 | 92 | /** 93 | * Reads size bytes from addr and disassembles them. 94 | * 95 | * @param addr Address to read from 96 | * @param size Size of buffer to read 97 | * @param result Disassembled instructions array. You must free it 98 | * 99 | * @return size of result 100 | */ 101 | EXPORT size_t disasmBuf(mach_vm_address_t addr, size_t size, cs_insn **result); 102 | 103 | /** 104 | * Return the real instruction size contained within min bytes 105 | * 106 | * @param ptr instruction pointer 107 | * @param min minimal possible size 108 | * 109 | * @return instruction size >= min on success or 0 110 | */ 111 | EXPORT size_t instructionSize(mach_vm_address_t ptr, size_t min); 112 | 113 | /** 114 | * Reads lookup_size bytes from addr and disassembles them. 115 | * After disassembling, tries to find num-th entry with call instruction, which argument is an immediate value (some address). 116 | * 117 | * @param addr Address to read from 118 | * @param num Number of call instruction to search for 119 | * @param lookup_size Number of bytes to read 120 | * 121 | * @note It is assumed that the operand contains a positive relative address. 122 | * 123 | * @return direct address of num-th call instruction on success, else 0 124 | */ 125 | EXPORT mach_vm_address_t disasmNthSub(mach_vm_address_t addr, size_t num, size_t lookup_size); 126 | 127 | /** 128 | * @brief Reads lookup_size bytes from addr and disassembles them. 129 | * 130 | * After disassembling, tries to find num-th entry with jmp instruction, which argument is an immediate value (some address). 131 | * 132 | * @param addr Address to read from 133 | * @param num Number of jmp instruction to search for 134 | * @param lookup_size Number of bytes to read 135 | * 136 | * @note It is assumed that the operand contains a positive relative address. 137 | * 138 | * @return direct address of num-th jmp instruction on success, else 0 139 | */ 140 | EXPORT mach_vm_address_t disasmNthJmp(mach_vm_address_t addr, size_t num, size_t lookup_size); 141 | 142 | /** 143 | * Reads lookup_size bytes from addr and disassembles them. 144 | * After disassembling, tries to find num-th entry of inst instruction. 145 | * 146 | * @param addr Addres to read from 147 | * @param ins Instruction code 148 | * @param num Number of ins instruction to search for 149 | * @param lookup_size Number of bytes to read 150 | * 151 | * @return address of found instruction on success, else 0 152 | */ 153 | EXPORT mach_vm_address_t disasmNthIns(mach_vm_address_t addr, x86_insn ins, size_t num, size_t lookup_size); 154 | 155 | /** 156 | * Disassembly matching structure 157 | */ 158 | struct DisasmSig { 159 | x86_insn ins; // instruction 160 | bool sub; // relevant only for X86_INS_CALL, if its arg is X86_OP_IMM 161 | bool addr; // if you want to return the address of exact inst in sig 162 | 163 | static DisasmSig *create() { return new DisasmSig; } 164 | static void deleter(DisasmSig *sig NONNULL) { delete sig; } 165 | }; 166 | 167 | /** 168 | * Reads lookup_size bytes from addr and disassembles them. 169 | * After disassembling, tries to find num-th entry of sig instruction pattern. 170 | * 171 | * @param addr Address to read from 172 | * @param sig Instruction pattern 173 | * @param num Order of pattern to search for 174 | * @param lookup_size Number of bytes to read 175 | * 176 | * @return direct address of pattern start on success, else 0 177 | */ 178 | EXPORT mach_vm_address_t disasmSig(mach_vm_address_t addr, evector &sig, size_t num, size_t lookup_size); 179 | 180 | #endif /* LILU_ADVANCED_DISASSEMBLY */ 181 | }; 182 | 183 | #endif /* kern_disasm_hpp */ 184 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/RestrictEvents.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23G93 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | RestrictEvents 11 | CFBundleIdentifier 12 | as.vit9696.RestrictEvents 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | RestrictEvents 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.1.5 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1.1.5 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 31 | DTPlatformName 32 | macosx 33 | DTPlatformVersion 34 | 13.3 35 | DTSDKBuild 36 | 22E245 37 | DTSDKName 38 | macosx13.3 39 | DTXcode 40 | 1431 41 | DTXcodeBuild 42 | 14E300c 43 | IOKitPersonalities 44 | 45 | as.vit9696.RestrictEfiCheck 46 | 47 | CFBundleIdentifier 48 | as.vit9696.RestrictEvents 49 | IOClass 50 | IOService 51 | IOMatchCategory 52 | com_apple_driver_eficheck 53 | IONameMatch 54 | 55 | pci8086,1c41 56 | pci8086,1c42 57 | pci8086,1c43 58 | pci8086,1c44 59 | pci8086,1c46 60 | pci8086,1c47 61 | pci8086,1c49 62 | pci8086,1c4a 63 | pci8086,1c4b 64 | pci8086,1c4c 65 | pci8086,1c4d 66 | pci8086,1c4e 67 | pci8086,1c4f 68 | pci8086,1c50 69 | pci8086,1c52 70 | pci8086,1c5c 71 | pci8086,1d41 72 | pci8086,1e42 73 | pci8086,1e44 74 | pci8086,1e46 75 | pci8086,1e47 76 | pci8086,1e48 77 | pci8086,1e49 78 | pci8086,1e4a 79 | pci8086,1e53 80 | pci8086,1e55 81 | pci8086,1e56 82 | pci8086,1e57 83 | pci8086,1e58 84 | pci8086,1e59 85 | pci8086,1e5d 86 | pci8086,1e5e 87 | pci8086,1e5f 88 | pci8086,3b02 89 | pci8086,3b03 90 | pci8086,3b06 91 | pci8086,3b07 92 | pci8086,3b08 93 | pci8086,3b09 94 | pci8086,3b0a 95 | pci8086,3b0b 96 | pci8086,3b0f 97 | pci8086,3b12 98 | pci8086,3b14 99 | pci8086,3b16 100 | pci8086,8c44 101 | pci8086,8c4b 102 | pci8086,8cc1 103 | pci8086,8cc2 104 | pci8086,8cc3 105 | pci8086,8cc4 106 | pci8086,8cc6 107 | pci8086,8c41 108 | pci8086,8c42 109 | pci8086,8c44 110 | pci8086,8c46 111 | pci8086,8c49 112 | pci8086,8c4a 113 | pci8086,8c4b 114 | pci8086,8c4c 115 | pci8086,8c4e 116 | pci8086,8c4f 117 | pci8086,8c50 118 | pci8086,8c52 119 | pci8086,8c54 120 | pci8086,8c56 121 | pci8086,8c5c 122 | pci8086,8d44 123 | pci8086,8d47 124 | pci8086,9cc1 125 | pci8086,9cc2 126 | pci8086,9cc3 127 | pci8086,9cc5 128 | pci8086,9cc6 129 | pci8086,9cc7 130 | pci8086,9cc9 131 | pci8086,9c41 132 | pci8086,9c43 133 | pci8086,9c45 134 | pci8086,9d41 135 | pci8086,9d43 136 | pci8086,9d46 137 | pci8086,9d48 138 | pci8086,9d4b 139 | pci8086,9d4e 140 | pci8086,a145 141 | pci8086,a151 142 | pci8086,a306 143 | 144 | IOProbeScore 145 | 5000 146 | IOProviderClass 147 | IOPCIDevice 148 | 149 | as.vit9696.RestrictEvents 150 | 151 | CFBundleIdentifier 152 | as.vit9696.RestrictEvents 153 | IOClass 154 | RestrictEvents 155 | IOMatchCategory 156 | RestrictEvents 157 | IOProviderClass 158 | IOResources 159 | IOResourceMatch 160 | IOKit 161 | 162 | 163 | LSMinimumSystemVersion 164 | 10.8 165 | NSHumanReadableCopyright 166 | Copyright © 2020 vit9696. All rights reserved. 167 | OSBundleCompatibleVersion 168 | 1.0 169 | OSBundleLibraries 170 | 171 | as.vit9696.Lilu 172 | 1.2.0 173 | com.apple.kpi.bsd 174 | 12.0.0 175 | com.apple.kpi.dsep 176 | 12.0.0 177 | com.apple.kpi.iokit 178 | 12.0.0 179 | com.apple.kpi.libkern 180 | 12.0.0 181 | com.apple.kpi.mach 182 | 12.0.0 183 | com.apple.kpi.unsupported 184 | 12.0.0 185 | 186 | OSBundleRequired 187 | Root 188 | 189 | 190 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_nvram.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_nvram.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_nvram_hpp 9 | #define kern_nvram_hpp 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | /** 18 | * Some of the most common GUIDs used for variable storage on macOS 19 | */ 20 | #define NVRAM_GLOBAL_GUID "8BE4DF61-93CA-11D2-AA0D-00E098032B8C" 21 | #define NVRAM_APPLE_BOOT_GUID "7C436110-AB2A-4BBB-A880-FE41995C9F82" 22 | #define NVRAM_APPLE_VENDOR_GUID "4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14" 23 | #define NVRAM_APPLE_FILEVAULT_GUID "8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF" 24 | #define NVRAM_APPLE_PASSWORD_UI_GUID "9EBA2D25-BBE3-4AC2-A2C6-C87F44A1278C" 25 | 26 | /** 27 | * Custom GUIDs used for Lilu preferences 28 | * Must be kept in sync to OcSupportPkg/Include/Guid/OcVariables.h 29 | */ 30 | #define LILU_VENDOR_GUID "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102" 31 | #define LILU_READ_ONLY_GUID "E09B9297-7928-4440-9AAB-D1F8536FBF0A" 32 | #define LILU_WRITE_ONLY_GUID "F0B9AF8F-2222-4840-8A37-ECF7CC8C12E1" 33 | 34 | /** 35 | * Prefix variable name with a GUID 36 | */ 37 | #define NVRAM_PREFIX(x, y) x ":" y 38 | 39 | class NVStorage { 40 | /** 41 | * Local nvram controller reference 42 | */ 43 | IORegistryEntry *dtEntry {nullptr}; 44 | 45 | public: 46 | /** 47 | * Compress data with a default compression algorithm 48 | * 49 | * @param src source data 50 | * @param size data size (updated with new size) 51 | * @param sensitive contains sensitive data 52 | * 53 | * @return compressed data (must be freed with Buffer::deleter) or nullptr 54 | */ 55 | EXPORT uint8_t *compress(const uint8_t *src, uint32_t &size, bool sensitive=false); 56 | 57 | /** 58 | * Decompress data compressed with compress 59 | * 60 | * @param src compressed data 61 | * @param size data size (updated with new size) 62 | * @param sensitive contains sensitive data 63 | * 64 | * @return decompressed data (must be freed with Buffer::deleter) or nullptr 65 | */ 66 | EXPORT uint8_t *decompress(const uint8_t *src, uint32_t &size, bool sensitive=false); 67 | 68 | /** 69 | * Value storage options 70 | */ 71 | enum Options { 72 | OptAuto = 0, // Default options 73 | OptRaw = 1, // i/o as raw buffer 74 | OptCompressed = 2, // Apply compression (see kern_compression.hpp) 75 | OptEncrypted = 4, // Apply encryption with device-unique key (see kern_crypto.hpp) 76 | OptChecksum = 8, // Append CRC32 checksum to the end 77 | OptSensitive = 16 // Value contains sensitive data 78 | }; 79 | 80 | /** 81 | * Prepended value header unless OptRaw is used 82 | * After the header the following fields should go: 83 | * uint8_t iv[16]; aes initialisation vector (if OptEncrypted is set) 84 | * uint32_t size; decryption size (if OptEncrypted is set, encrypted) 85 | * uint32_t size; decompression size (if OptCompressed is set, encrypted if OptEncrypted) 86 | * uint8_t data[]; content data (encrypted if OptEncrypted) 87 | * uint32_t crc32; CRC32 cheksum (if OptChecksum is set) 88 | */ 89 | struct PACKED Header { 90 | static constexpr uint16_t Magic = 0xC717; 91 | static constexpr uint8_t MaxVer = 1; 92 | using Checksum = uint32_t; 93 | 94 | uint16_t magic {Magic}; 95 | uint8_t version {MaxVer}; 96 | uint8_t opts {OptAuto}; 97 | }; 98 | 99 | /** 100 | * Attempt to connect to active nvram, may fail at early stages 101 | * 102 | * @return true on success 103 | */ 104 | EXPORT bool init(); 105 | 106 | /** 107 | * Relinquish resources used, must be called regardless of the init error 108 | */ 109 | EXPORT void deinit(); 110 | 111 | /** 112 | * Read data from nvram 113 | * 114 | * @param key key name 115 | * @param size amount of data read 116 | * @param opts bitmask of Options, may set option requirements 117 | * @param enckey encryption key (platform-defined if OptEncrypted is set) 118 | * 119 | * @return pointer to data (must be freed via Buffer::deleter), nullptr on failure 120 | */ 121 | EXPORT uint8_t *read(const char *key, uint32_t &size, uint8_t opts=OptAuto, const uint8_t *enckey=nullptr); 122 | 123 | /** 124 | * Read data from nvram 125 | * 126 | * @param key key name 127 | * @param opts bitmask of Options, may set option requirements 128 | * @param enckey encryption key (platform-defined if OptEncrypted is set) 129 | * 130 | * @return pointer to data (must be freed via OSData::release), nullptr on failure 131 | */ 132 | EXPORT OSData *read(const char *key, uint8_t opts=OptAuto, const uint8_t *enckey=nullptr); 133 | 134 | /** 135 | * Write data to nvram 136 | * 137 | * @param key key name 138 | * @param src source buffer 139 | * @param size buffer size 140 | * @param opts bitmask of Options 141 | * @param enckey encryption key (platform-defined if OptEncrypted is set) 142 | * 143 | * @return true on success 144 | */ 145 | EXPORT bool write(const char *key, const uint8_t *src, uint32_t sz, uint8_t opts=OptAuto, const uint8_t *enckey=nullptr); 146 | 147 | /** 148 | * Write data to nvram 149 | * 150 | * @param key key name 151 | * @param data data object to write 152 | * @param opts bitmask of Options 153 | * @param enckey encryption key (platform-defined if OptEncrypted is set) 154 | * 155 | * @return true on success 156 | */ 157 | EXPORT bool write(const char *key, const OSData *data, uint8_t opts=OptAuto, const uint8_t *enckey=nullptr); 158 | 159 | /** 160 | * Delete key from nvram 161 | * 162 | * @param key key name 163 | * @param sensitive sensitive data 164 | * 165 | * @return true on successful deletion or if key is missing 166 | */ 167 | EXPORT bool remove(const char *key, bool sensitive=false); 168 | 169 | /** 170 | * Synchronize with nvram controller 171 | * This method might fail if synchronisation was done recently. 172 | * 173 | * @return true if synchronised 174 | */ 175 | EXPORT bool sync(); 176 | 177 | /** 178 | * Exports nvram to a plist file 179 | * 180 | * @param filename file path 181 | * @oaram max max output size 182 | * @param sensitive contains sensitive data 183 | * 184 | * @return true if saved 185 | */ 186 | EXPORT bool save(const char *filename, uint32_t max=0x20000, bool sensitive=false); 187 | 188 | /** 189 | * Check whether key exists 190 | * 191 | * @param key key name 192 | * 193 | * @return true if key exists 194 | */ 195 | EXPORT bool exists(const char *key); 196 | }; 197 | 198 | #endif /* kern_nvram_hpp */ 199 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_rtc.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_rtc.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2018 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_rtc_h 9 | #define kern_rtc_h 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | class RTCStorage { 17 | /** 18 | * Apple-specific RTC checksum addresses 19 | */ 20 | static constexpr uint8_t APPLERTC_HASHED_ADDR = 0x0E; 21 | static constexpr uint8_t APPLERTC_CHECKSUM_ADDR1 = 0x58; 22 | static constexpr uint8_t APPLERTC_CHECKSUM_ADDR2 = 0x59; 23 | 24 | /** 25 | * AppleRTC service handle 26 | */ 27 | IOService *rtcSrv {nullptr}; 28 | 29 | /** 30 | * Low-level RTC read (does not check memory availability). 31 | * 32 | * @param dev RTC ACPI device 33 | * @param offset offset 34 | * 35 | * @result read value 36 | */ 37 | static uint8_t readByte(IOACPIPlatformDevice *dev, uint8_t offset); 38 | 39 | /** 40 | * Low-level RTC write (does not check memory availability). 41 | * 42 | * @param dev RTC ACPI device 43 | * @param offset offset 44 | * @param value value 45 | */ 46 | static void writeByte(IOACPIPlatformDevice *dev, uint8_t offset, uint8_t value); 47 | public: 48 | /** 49 | * General access RTC ports on x86 systems. 50 | */ 51 | static constexpr uint8_t R_PCH_RTC_INDEX = 0x70; 52 | static constexpr uint8_t R_PCH_RTC_TARGET = 0x71; 53 | static constexpr uint8_t R_PCH_RTC_EXT_INDEX = 0x72; 54 | static constexpr uint8_t R_PCH_RTC_EXT_TARGET = 0x73; 55 | 56 | /** 57 | * RTC has N banks (we support up to 2) of memory. 58 | */ 59 | static constexpr uint8_t RTC_BANK_SIZE = 0x80; 60 | 61 | /** 62 | * Non-ext RTC index register uses higher bit for nmi. 63 | */ 64 | static constexpr uint8_t RTC_DATA_MASK = 0x7F; 65 | static constexpr uint8_t RTC_NMI_MASK = 0x80; 66 | 67 | /** 68 | * Time offsets. 69 | */ 70 | static constexpr uint8_t RTC_SEC = 0x00; 71 | static constexpr uint8_t RTC_MIN = 0x02; 72 | static constexpr uint8_t RTC_HOUR = 0x04; 73 | 74 | static constexpr uint8_t RTC_DAY = 0x07; 75 | static constexpr uint8_t RTC_MON = 0x08; 76 | static constexpr uint8_t RTC_YEAR = 0x09; 77 | 78 | #if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_5 79 | using t_UserClientExternalMethod = IOReturn (*)(IORegistryEntry *service, uint32_t selector, IOExternalMethodArguments * arguments, 80 | IOExternalMethodDispatch * dispatch, OSObject * target, void * reference); 81 | static constexpr size_t UserClientExternalMethodIndex = 0x129; 82 | #endif 83 | 84 | /** 85 | * Attempt to connect to active RTC service 86 | * 87 | * @param wait wait for service availability 88 | * 89 | * @return true on success 90 | */ 91 | EXPORT bool init(bool wait=true); 92 | 93 | /** 94 | * Release obtained RTC service 95 | */ 96 | EXPORT void deinit(); 97 | 98 | /** 99 | * Check whether extended (higher 128 bytes) is available 100 | * 101 | * @return true on success 102 | */ 103 | EXPORT bool checkExtendedMemory(); 104 | 105 | /** 106 | * Read memory from RTC 107 | * 108 | * @param off offset to read data from 109 | * @param size data size 110 | * @param buffer data buffer to read to 111 | * 112 | * @return true on success 113 | */ 114 | EXPORT bool read(uint64_t off, uint32_t size, uint8_t *buffer); 115 | 116 | /** 117 | * Write memory to RTC 118 | * 119 | * @param off offset to write data to 120 | * @param size data size 121 | * @param buffer data buffer to write from 122 | * 123 | * @return true on success 124 | */ 125 | EXPORT bool write(uint64_t off, uint32_t size, uint8_t *buffer); 126 | 127 | /** 128 | * Obtain RTC device for direct writing. 129 | * Written as inline to avoid IOACPIPlatformDevice dependency. 130 | * 131 | * @param name device name 132 | * 133 | * @return RTC ACPI device for I/O access, must be released 134 | */ 135 | static inline IOACPIPlatformDevice *getRTCDevice(const char *name = "PNP0B00") { 136 | IOService *rtcDev = nullptr; 137 | auto matching = IOService::nameMatching(name); 138 | if (matching) { 139 | #if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_6 140 | rtcDev = IOService::waitForService(matching); 141 | if (rtcDev) 142 | rtcDev->retain(); 143 | #else 144 | rtcDev = IOService::waitForMatchingService(matching); 145 | matching->release(); 146 | #endif 147 | 148 | } else { 149 | SYSLOG("rtc", "failed to allocate rtc device matching"); 150 | } 151 | 152 | if (rtcDev) { 153 | DBGLOG("rtc", "got rtc device"); 154 | auto acpiDev = OSDynamicCast(IOACPIPlatformDevice, rtcDev); 155 | if (acpiDev) { 156 | DBGLOG("rtc", "got rtc acpi device"); 157 | return acpiDev; 158 | } else { 159 | SYSLOG("rtc", "failed to obtain rtc acpi device"); 160 | rtcDev->release(); 161 | } 162 | } 163 | 164 | SYSLOG("rtc", "failed to get rtc device"); 165 | return nullptr; 166 | } 167 | 168 | /** 169 | * Directly read RTC memory (UNSAFE, usage with caution!) 170 | * 171 | * @param dev RTC device 172 | * @param off offset to read data from 173 | * @param size data size 174 | * @param buffer data buffer to read to 175 | * @param introff turn interrupts off 176 | * 177 | * @return true on success 178 | */ 179 | EXPORT static void readDirect(IOACPIPlatformDevice *dev, uint8_t off, uint16_t size, uint8_t *buffer, bool introff); 180 | 181 | /** 182 | * Directly write RTC memory (UNSAFE, usage with caution!) 183 | * 184 | * @param dev RTC device 185 | * @param off offset to read data from 186 | * @param size data size 187 | * @param buffer data buffer to read to 188 | * @param updatecrc recalculate crc on write 189 | * @param introff turn interrupts off 190 | * 191 | * @return true on success 192 | */ 193 | EXPORT static void writeDirect(IOACPIPlatformDevice *dev, uint8_t off, uint16_t size, uint8_t *buffer, bool updatecrc, bool introff); 194 | 195 | 196 | /** 197 | * Directly read RTC memory (UNSAFE, usage with caution!), this is just a compatibility function. 198 | * 199 | * @param off offset to read data from 200 | * @param size data size 201 | * @param buffer data buffer to read to 202 | * @param introff turn interrupts off 203 | * 204 | * @return true on success 205 | */ 206 | static inline bool readDirect(uint8_t off, uint16_t size, uint8_t *buffer, bool introff) { 207 | if (size > RTC_BANK_SIZE*2 - off) { 208 | SYSLOG("rtc", "reading unsupported size"); 209 | return false; 210 | } 211 | 212 | auto rtc = getRTCDevice(); 213 | if (rtc) { 214 | readDirect(rtc, off, size, buffer, introff); 215 | rtc->release(); 216 | return true; 217 | } 218 | 219 | return false; 220 | } 221 | 222 | /** 223 | * Directly write RTC memory (UNSAFE, usage with caution!), this is just a compatibility function. 224 | * 225 | * @param off offset to read data from 226 | * @param size data size 227 | * @param buffer data buffer to read to 228 | * @param updatecrc recalculate crc on write 229 | * @param introff turn interrupts off 230 | * 231 | * @return true on success 232 | */ 233 | static inline bool writeDirect(uint8_t off, uint16_t size, uint8_t *buffer, bool updatecrc, bool introff) { 234 | if (size > RTC_BANK_SIZE*2 - off) { 235 | SYSLOG("rtc", "writing unsupported size"); 236 | return false; 237 | } 238 | 239 | auto rtc = getRTCDevice(); 240 | if (rtc) { 241 | writeDirect(rtc, off, size, buffer, updatecrc, introff); 242 | rtc->release(); 243 | return true; 244 | } 245 | 246 | return false; 247 | } 248 | }; 249 | 250 | #endif /* kern_rtc_h */ 251 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 23H420 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | VirtualSMC 11 | CFBundleIdentifier 12 | as.vit9696.VirtualSMC 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | VirtualSMC 17 | CFBundlePackageType 18 | KEXT 19 | CFBundleShortVersionString 20 | 1.3.6 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1.3.6 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 33 | DTPlatformName 34 | macosx 35 | DTPlatformVersion 36 | 14.2 37 | DTSDKBuild 38 | 23C53 39 | DTSDKName 40 | macosx14.2 41 | DTXcode 42 | 1520 43 | DTXcodeBuild 44 | 15C500b 45 | IOKitPersonalities 46 | 47 | as.vit9696.VirtualSMC 48 | 49 | CFBundleIdentifier 50 | as.vit9696.VirtualSMC 51 | IOClass 52 | VirtualSMC 53 | IODeviceMemory 54 | 55 | 56 | 57 | address 58 | 768 59 | length 60 | 32 61 | 62 | 63 | 64 | 65 | address 66 | 4277141504 67 | length 68 | 65536 69 | 70 | 71 | 72 | IOInterruptControllers 73 | 74 | io-apic-0 75 | 76 | IOInterruptSpecifiers 77 | 78 | 79 | BgAAAAAAAAA= 80 | 81 | 82 | IOMatchCategory 83 | IOACPIPlatformDevice 84 | IOName 85 | SMC 86 | IOProbeScore 87 | 60000 88 | IOProviderClass 89 | AppleACPIPlatformExpert 90 | Keystore 91 | 92 | Generic 93 | 94 | 95 | attr 96 | 97 | iA== 98 | 99 | comment 100 | Total fan number, this should be put to a plugin 101 | name 102 | 103 | Rk51bQ== 104 | 105 | type 106 | 107 | dWk4IA== 108 | 109 | value 110 | 111 | AA== 112 | 113 | 114 | 115 | attr 116 | 117 | gA== 118 | 119 | comment 120 | CPU plimit 121 | name 122 | 123 | TVNUYw== 124 | 125 | type 126 | 127 | dWk4IA== 128 | 129 | value 130 | 131 | AA== 132 | 133 | 134 | 135 | attr 136 | 137 | gA== 138 | 139 | comment 140 | FAN plimit (supposedly) 141 | name 142 | 143 | TVNUZg== 144 | 145 | type 146 | 147 | dWk4IA== 148 | 149 | value 150 | 151 | AA== 152 | 153 | 154 | 155 | attr 156 | 157 | gA== 158 | 159 | comment 160 | Memory plimit 161 | name 162 | 163 | TVNUbQ== 164 | 165 | type 166 | 167 | dWk4IA== 168 | 169 | value 170 | 171 | AA== 172 | 173 | 174 | 175 | attr 176 | 177 | gA== 178 | 179 | comment 180 | This should be 1 on laptops, and is overriden by sensors 181 | name 182 | 183 | QkFUUA== 184 | 185 | type 186 | 187 | ZmxhZw== 188 | 189 | value 190 | 191 | AA== 192 | 193 | 194 | 195 | attr 196 | 197 | gA== 198 | 199 | comment 200 | Only MacPros have custom illumination controllers 201 | name 202 | 203 | THNOTQ== 204 | 205 | type 206 | 207 | dWk4IA== 208 | 209 | value 210 | 211 | AA== 212 | 213 | 214 | 215 | GenericDesktopV1 216 | 217 | GenericDesktopV2 218 | 219 | GenericLaptopV1 220 | 221 | GenericLaptopV2 222 | 223 | GenericV1 224 | 225 | 226 | attr 227 | 228 | gA== 229 | 230 | comment 231 | GPU plimit 232 | name 233 | 234 | TVNUZw== 235 | 236 | type 237 | 238 | dWk4IA== 239 | 240 | value 241 | 242 | AA== 243 | 244 | 245 | 246 | GenericV2 247 | 248 | 249 | attr 250 | 251 | gA== 252 | 253 | comment 254 | E plimit (???) 255 | name 256 | 257 | TVNUZQ== 258 | 259 | type 260 | 261 | dWk4IA== 262 | 263 | value 264 | 265 | AA== 266 | 267 | 268 | 269 | attr 270 | 271 | gA== 272 | 273 | comment 274 | I plimit (???) 275 | name 276 | 277 | TVNUaQ== 278 | 279 | type 280 | 281 | dWk4IA== 282 | 283 | value 284 | 285 | AA== 286 | 287 | 288 | 289 | attr 290 | 291 | gA== 292 | 293 | comment 294 | J plimit (???) 295 | name 296 | 297 | TVNUag== 298 | 299 | type 300 | 301 | dWk4IA== 302 | 303 | value 304 | 305 | AA== 306 | 307 | 308 | 309 | 310 | ModelInfo 311 | 312 | GenericV1 313 | 314 | branch 315 | 316 | ajUyAAAAAAA= 317 | 318 | hwname 319 | 320 | c21jLXBpa2V0b24A 321 | 322 | platform 323 | 324 | ajUyAAAAAAA= 325 | 326 | rev 327 | 328 | AXQPAAAE 329 | 330 | revfb 331 | 332 | AXQPAAAE 333 | 334 | revfu 335 | 336 | AXQPAAAE 337 | 338 | 339 | GenericV2 340 | 341 | branch 342 | 343 | ajUyAAAAAAA= 344 | 345 | hwname 346 | 347 | c21jLWh1cm9ucml2ZXIA 348 | 349 | platform 350 | 351 | ajUyAAAAAAA= 352 | 353 | rev 354 | 355 | AigPAAAH 356 | 357 | revfb 358 | 359 | AigPAAAH 360 | 361 | revfu 362 | 363 | AigPAAAH 364 | 365 | 366 | GenericV3 367 | 368 | hwname 369 | 370 | c21jLWh1cm9ucml2ZXIA 371 | 372 | platform 373 | 374 | ajUyAAAAAAA= 375 | 376 | 377 | 378 | _STA 379 | 11 380 | name 381 | 382 | QVBQMDAwMQA= 383 | 384 | 385 | 386 | LSMinimumSystemVersion 387 | 10.6 388 | NSHumanReadableCopyright 389 | Copyright © 2017 vit9696. All rights reserved. 390 | OSBundleCompatibleVersion 391 | 1.0 392 | OSBundleLibraries 393 | 394 | as.vit9696.Lilu 395 | 1.2.0 396 | com.apple.iokit.IOACPIFamily 397 | 1.0.0d1 398 | com.apple.kernel.6.0 399 | 7.9.9 400 | com.apple.kpi.bsd 401 | 8.0.0 402 | com.apple.kpi.iokit 403 | 8.0.0 404 | com.apple.kpi.libkern 405 | 8.0.0 406 | com.apple.kpi.mach 407 | 8.0.0 408 | com.apple.kpi.unsupported 409 | 8.0.0 410 | 411 | OSBundleLibraries_x86_64 412 | 413 | as.vit9696.Lilu 414 | 1.2.0 415 | com.apple.iokit.IOACPIFamily 416 | 1.0.0d1 417 | com.apple.kpi.bsd 418 | 10.0.0 419 | com.apple.kpi.iokit 420 | 10.0.0 421 | com.apple.kpi.libkern 422 | 10.0.0 423 | com.apple.kpi.mach 424 | 10.0.0 425 | com.apple.kpi.unsupported 426 | 10.0.0 427 | 428 | OSBundleRequired 429 | Root 430 | 431 | 432 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_iokit.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_iokit.hpp 3 | // Lilu 4 | // 5 | // Copyright © 2016-2017 vit9696. All rights reserved. 6 | // 7 | 8 | #ifndef kern_iokit_hpp 9 | #define kern_iokit_hpp 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | #include 16 | #include 17 | 18 | namespace WIOKit { 19 | 20 | /** 21 | * AppleHDAEngine::getLocation teaches us to use loop infinitely when talking to IOReg 22 | * This feels mad and insane, since it may prevent the system from booting. 23 | * Although this had never happened, we will use a far bigger fail-safe stop value. 24 | */ 25 | static constexpr size_t bruteMax {40000000}; 26 | 27 | /** 28 | * Read typed OSData 29 | * 30 | * @param obj read object 31 | * @param value read value 32 | * @param name propert name 33 | * 34 | * @return true on success 35 | */ 36 | template 37 | inline bool getOSDataValue(const OSObject *obj, const char *name, T &value) { 38 | if (obj) { 39 | auto data = OSDynamicCast(OSData, obj); 40 | if (data && data->getLength() == sizeof(T)) { 41 | value = *static_cast(data->getBytesNoCopy()); 42 | DBGLOG("iokit", "getOSData %s has %llX value", name, static_cast(value)); 43 | return true; 44 | } else { 45 | SYSLOG("iokit", "getOSData %s has unexpected format", name); 46 | } 47 | } else { 48 | DBGLOG("iokit", "getOSData %s was not found", name); 49 | } 50 | return false; 51 | } 52 | 53 | /** 54 | * Read typed OSData through a temp type 55 | * 56 | * @param obj read object 57 | * @param value read value 58 | * @param name propert name 59 | * 60 | * @return true on success 61 | */ 62 | template 63 | inline bool getOSDataValue(const OSObject *obj, const char *name, T &value) { 64 | AS tmp; 65 | if (getOSDataValue(obj, name, tmp)) { 66 | value = static_cast(tmp); 67 | return true; 68 | } 69 | 70 | return false; 71 | } 72 | 73 | /** 74 | * Read typed OSData from IORegistryEntry 75 | * 76 | * @see getOSDataValue 77 | */ 78 | template 79 | inline bool getOSDataValue(const IORegistryEntry *sect, const char *name, T &value) { 80 | return getOSDataValue(sect->getProperty(name), name, value); 81 | } 82 | 83 | /** 84 | * Read typed OSData from IORegistryEntry 85 | * 86 | * @see getOSDataValue 87 | */ 88 | template 89 | inline bool getOSDataValue(const IORegistryEntry *sect, const char *name, T &value) { 90 | return getOSDataValue(sect->getProperty(name), name, value); 91 | } 92 | 93 | /** 94 | * Read typed OSData from IORegistryEntry 95 | * 96 | * @see getOSDataValue 97 | */ 98 | template 99 | inline bool getOSDataValue(const OSDictionary *dict, const char *name, T &value) { 100 | return getOSDataValue(dict->getObject(name), name, value); 101 | } 102 | 103 | /** 104 | * Read typed OSData from IORegistryEntry 105 | * 106 | * @see getOSDataValue 107 | */ 108 | template 109 | inline bool getOSDataValue(const OSDictionary *dict, const char *name, T &value) { 110 | return getOSDataValue(dict->getObject(name), name, value); 111 | } 112 | 113 | /** 114 | * Retrieve property object 115 | * 116 | * @param entry IORegistry entry 117 | * @param property property name 118 | * 119 | * @return property object (must be released) or nullptr 120 | */ 121 | EXPORT LIBKERN_RETURNS_RETAINED OSSerialize *getProperty(IORegistryEntry *entry, const char *property); 122 | 123 | /** 124 | * Model variants 125 | */ 126 | struct ComputerModel { 127 | enum { 128 | ComputerInvalid = 0x0, 129 | ComputerLaptop = 0x1, 130 | ComputerDesktop = 0x2, 131 | ComputerAny = ComputerLaptop | ComputerDesktop 132 | }; 133 | }; 134 | 135 | /** 136 | * PCI GPU Vendor identifiers 137 | */ 138 | struct VendorID { 139 | enum : uint16_t { 140 | ATIAMD = 0x1002, 141 | AMDZEN = 0x1022, 142 | NVIDIA = 0x10DE, 143 | Intel = 0x8086, 144 | VMware = 0x15AD, 145 | QEMU = 0x1B36, 146 | }; 147 | }; 148 | 149 | /** 150 | * PCI class codes 151 | */ 152 | struct ClassCode { 153 | enum : uint32_t { 154 | VGAController = 0x030000, 155 | // I have never seen this one, but laptops are evil. 156 | XGAController = 0x030100, 157 | // Some laptops use this for Optimus GPUs. 158 | Ex3DController = 0x030200, 159 | DisplayController = 0x038000, 160 | PCIBridge = 0x060400, 161 | // HDA device on some laptops like Acer Aspire VN7-592G (INSYDE). 162 | HDAMmDevice = 0x040100, 163 | // Watch out for PCISubclassMask, 0x040380 is common on laptops. 164 | HDADevice = 0x040300, 165 | // This does not seem to be documented. It works on Haswell at least. 166 | IMEI = 0x078000, 167 | // To ignore device subclasses. 168 | PCISubclassMask = 0xFFFF00, 169 | }; 170 | }; 171 | 172 | /** 173 | * Definitions of PCI Config Registers 174 | */ 175 | enum PCIRegister : uint8_t { 176 | kIOPCIConfigVendorID = 0x00, 177 | kIOPCIConfigDeviceID = 0x02, 178 | kIOPCIConfigCommand = 0x04, 179 | kIOPCIConfigStatus = 0x06, 180 | kIOPCIConfigRevisionID = 0x08, 181 | kIOPCIConfigClassCode = 0x09, 182 | kIOPCIConfigCacheLineSize = 0x0C, 183 | kIOPCIConfigLatencyTimer = 0x0D, 184 | kIOPCIConfigHeaderType = 0x0E, 185 | kIOPCIConfigBIST = 0x0F, 186 | kIOPCIConfigBaseAddress0 = 0x10, 187 | kIOPCIConfigBaseAddress1 = 0x14, 188 | kIOPCIConfigBaseAddress2 = 0x18, 189 | kIOPCIConfigBaseAddress3 = 0x1C, 190 | kIOPCIConfigBaseAddress4 = 0x20, 191 | kIOPCIConfigBaseAddress5 = 0x24, 192 | kIOPCIConfigCardBusCISPtr = 0x28, 193 | kIOPCIConfigSubSystemVendorID = 0x2C, 194 | kIOPCIConfigSubSystemID = 0x2E, 195 | kIOPCIConfigExpansionROMBase = 0x30, 196 | kIOPCIConfigCapabilitiesPtr = 0x34, 197 | kIOPCIConfigInterruptLine = 0x3C, 198 | kIOPCIConfigInterruptPin = 0x3D, 199 | kIOPCIConfigMinimumGrant = 0x3E, 200 | kIOPCIConfigMaximumLatency = 0x3F, 201 | kIOPCIConfigGraphicsControl = 0x50 202 | }; 203 | 204 | /** 205 | * Fixed offsets for PCI Config I/O virtual methods 206 | */ 207 | struct PCIConfigOffset { 208 | enum : size_t { 209 | ConfigRead32 = 0x10A, 210 | ConfigWrite32 = 0x10B, 211 | ConfigRead16 = 0x10C, 212 | ConfigWrite16 = 0x10D, 213 | ConfigRead8 = 0x10E, 214 | ConfigWrite8 = 0x10F, 215 | GetBusNumber = 0x11D, 216 | GetDeviceNumber = 0x11E, 217 | GetFunctionNumber = 0x11F 218 | }; 219 | }; 220 | 221 | /** 222 | * PCI Config I/O method prototypes 223 | */ 224 | using t_PCIConfigRead32 = uint32_t (*)(IORegistryEntry *service, uint32_t space, uint8_t offset); 225 | using t_PCIConfigRead16 = uint16_t (*)(IORegistryEntry *service, uint32_t space, uint8_t offset); 226 | using t_PCIConfigRead8 = uint8_t (*)(IORegistryEntry *service, uint32_t space, uint8_t offset); 227 | using t_PCIConfigWrite32 = void (*)(IORegistryEntry *service, uint32_t space, uint8_t offset, uint32_t data); 228 | using t_PCIConfigWrite16 = void (*)(IORegistryEntry *service, uint32_t space, uint8_t offset, uint16_t data); 229 | using t_PCIConfigWrite8 = void (*)(IORegistryEntry *service, uint32_t space, uint8_t offset, uint8_t data); 230 | using t_PCIGetBusNumber = uint8_t (*)(IORegistryEntry *service); 231 | using t_PCIGetDeviceNumber = uint8_t (*)(IORegistryEntry *service); 232 | using t_PCIGetFunctionNumber = uint8_t (*)(IORegistryEntry *service); 233 | 234 | /** 235 | * Await for device publishing in IOService plane 236 | * 237 | * @param obj wait for (PCI) object publishing 238 | * 239 | * @retval true on success 240 | */ 241 | EXPORT bool awaitPublishing(IORegistryEntry *obj); 242 | 243 | /** 244 | * Read PCI Config register 245 | * 246 | * @param service IOPCIDevice-compatible service. 247 | * @param reg PCI config register 248 | * @param space adress space 249 | * @param size read size for reading custom registers 250 | * 251 | * @return value read 252 | */ 253 | EXPORT uint32_t readPCIConfigValue(IORegistryEntry *service, uint32_t reg, uint32_t space = 0, uint32_t size = 0); 254 | 255 | /** 256 | * Retrieve PCI device address 257 | * 258 | * @param service IOPCIDevice-compatible service. 259 | * @param bus bus address 260 | * @param device device address 261 | * @param function function address 262 | */ 263 | EXPORT void getDeviceAddress(IORegistryEntry *service, uint8_t &bus, uint8_t &device, uint8_t &function); 264 | 265 | /** 266 | * Retrieve the computer type 267 | * 268 | * @return valid computer type or ComputerAny 269 | */ 270 | EXPORT int getComputerModel() DEPRECATE("Use BaseDeviceInfo"); 271 | 272 | /** 273 | * Retrieve computer model and/or board-id properties 274 | * 275 | * @param model model name output buffer or null 276 | * @param modelsz model name output buffer size 277 | * @param board board identifier output buffer or null 278 | * @param boardsz board identifier output buffer size 279 | * 280 | * @return true if relevant properties already are available, otherwise buffers are unchanged 281 | */ 282 | EXPORT bool getComputerInfo(char *model, size_t modelsz, char *board, size_t boardsz) DEPRECATE("Use BaseDeviceInfo"); 283 | 284 | /** 285 | * Retrieve an ioreg entry by path/prefix 286 | * 287 | * @param path an exact lookup path 288 | * @param prefix entry prefix at path 289 | * @param plane plane to lookup in 290 | * @param proc process every found entry with the method 291 | * @param brute kick ioreg until a value is found 292 | * @param user pass some value to the callback function 293 | * 294 | * @return entry pointer (must NOT be released) or nullptr (on failure or in proc mode) 295 | */ 296 | EXPORT LIBKERN_RETURNS_NOT_RETAINED IORegistryEntry *findEntryByPrefix(const char *path, const char *prefix, const IORegistryPlane *plane, bool (*proc)(void *, IORegistryEntry *)=nullptr, bool brute=false, void *user=nullptr); 297 | 298 | /** 299 | * Retrieve an ioreg entry by path/prefix 300 | * 301 | * @param entry an ioreg entry to look in 302 | * @param prefix entry prefix at path 303 | * @param plane plane to lookup in 304 | * @param proc process every found entry with the method 305 | * @param brute kick ioreg until a value is found 306 | * @param user pass some value to the callback function 307 | * 308 | * @return entry pointer (must NOT be released) or nullptr (on failure or in proc mode) 309 | */ 310 | EXPORT LIBKERN_RETURNS_NOT_RETAINED IORegistryEntry *findEntryByPrefix(IORegistryEntry *entry, const char *prefix, const IORegistryPlane *plane, bool (*proc)(void *, IORegistryEntry *)=nullptr, bool brute=false, void *user=nullptr); 311 | 312 | /** 313 | * Check if we are using prelinked kernel/kexts or not 314 | * 315 | * @return true when confirmed that we definitely are 316 | */ 317 | EXPORT bool usingPrelinkedCache(); 318 | 319 | /** 320 | * Properly rename the device 321 | * 322 | * @param entry device to rename 323 | * @param name new name 324 | * @param compat correct compatible 325 | * 326 | * @return true on success 327 | */ 328 | EXPORT bool renameDevice(IORegistryEntry *entry, const char *name, bool compat=true); 329 | } 330 | 331 | #endif /* kern_iokit_hpp */ 332 | -------------------------------------------------------------------------------- /OpenCore (1.0.4) - Sonoma/EFI/OC/Kexts/Lilu.kext/Contents/Resources/Headers/kern_mach.hpp: -------------------------------------------------------------------------------- 1 | // 2 | // kern_mach.hpp 3 | // Lilu 4 | // 5 | // Certain parts of code are the subject of 6 | // copyright © 2011, 2012, 2013, 2014 fG!, reverser@put.as - http://reverse.put.as 7 | // Copyright © 2016-2017 vit9696. All rights reserved. 8 | // 9 | 10 | #ifndef kern_mach_hpp 11 | #define kern_mach_hpp 12 | 13 | #include 14 | #include 15 | 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | class MachInfo { 24 | #if defined(__i386__) 25 | using mach_header_native = mach_header; 26 | using segment_command_native = segment_command; 27 | using nlist_native = struct nlist; 28 | 29 | static constexpr uint8_t SegmentTypeNative {LC_SEGMENT}; 30 | static constexpr uint32_t MachMagicNative {MH_MAGIC}; 31 | static constexpr uint32_t MachCpuTypeNative {CPU_TYPE_I386}; 32 | 33 | #elif defined(__x86_64__) 34 | using mach_header_native = mach_header_64; 35 | using segment_command_native = segment_command_64; 36 | using nlist_native = struct nlist_64; 37 | 38 | static constexpr uint8_t SegmentTypeNative {LC_SEGMENT_64}; 39 | static constexpr uint32_t MachMagicNative {MH_MAGIC_64}; 40 | static constexpr uint32_t MachCpuTypeNative {CPU_TYPE_X86_64}; 41 | 42 | #else 43 | #error Unsupported arch. 44 | #endif 45 | 46 | mach_vm_address_t running_text_addr {0}; // the address of running __TEXT segment 47 | mach_vm_address_t disk_text_addr {0}; // the same address at from a file 48 | mach_vm_address_t kaslr_slide {0}; // the kernel aslr slide, computed as the difference between above's addresses 49 | uint8_t *file_buf {nullptr}; // read file data 50 | OSDictionary *prelink_dict {nullptr}; // read prealinked kext dictionary 51 | uint8_t *prelink_addr {nullptr}; // prelink text base address 52 | mach_vm_address_t prelink_vmaddr {0}; // prelink text base vm address (for kexts this is their actual slide) 53 | uint32_t file_buf_size {0}; // read file data size 54 | uint8_t *sym_buf {nullptr}; // pointer to buffer (normally __LINKEDIT) containing symbols to solve 55 | bool sym_buf_ro {false}; // sym_buf is read-only (not copy). 56 | uint64_t sym_fileoff {0}; // file offset of symbols (normally __LINKEDIT) so we can read 57 | size_t sym_size {0}; 58 | uint32_t symboltable_fileoff {0}; // file offset to symbol table - used to position inside the __LINKEDIT buffer 59 | uint32_t symboltable_nr_symbols {0}; 60 | uint32_t stringtable_fileoff {0}; // file offset to string table 61 | uint32_t stringtable_size {0}; 62 | mach_header_native *running_mh {nullptr}; // pointer to mach-o header of running kernel item 63 | mach_vm_address_t address_slots {0}; // pointer after mach-o header to store pointers 64 | mach_vm_address_t address_slots_end {0}; // pointer after mach-o header to store pointers 65 | off_t fat_offset {0}; // additional fat offset 66 | size_t memory_size {HeaderSize}; // memory size 67 | bool kaslr_slide_set {false}; // kaslr can be null, used for disambiguation 68 | bool allow_decompress {true}; // allows mach decompression 69 | bool prelink_slid {false}; // assume kaslr-slid kext addresses 70 | bool kernel_collection {false}; // kernel collection (11.0+) 71 | uint64_t self_uuid[2] {}; // saved uuid of the loaded kext or kernel 72 | 73 | /** 74 | * Kernel slide is aligned by 20 bits 75 | */ 76 | static constexpr size_t KASLRAlignment {0x100000}; 77 | 78 | /** 79 | * Retrieve LC_UUID command value from a mach header 80 | * 81 | * @param header mach header pointer 82 | * 83 | * @return UUID or nullptr 84 | */ 85 | uint64_t *getUUID(void *header); 86 | 87 | /** 88 | * Retrieve and preserve LC_UUID command value from a mach header 89 | * 90 | * @param header mach header pointer 91 | * 92 | * @return true on success 93 | */ 94 | bool loadUUID(void *header); 95 | 96 | /** 97 | * Enable/disable the Write Protection bit in CR0 register 98 | * 99 | * @param enable the desired value 100 | * 101 | * @return KERN_SUCCESS if succeeded 102 | */ 103 | static kern_return_t setWPBit(bool enable); 104 | 105 | /** 106 | * Retrieve the first pages of a binary at disk into a buffer 107 | * Version that uses KPI VFS functions and a ripped uio_createwithbuffer() from XNU 108 | * 109 | * @param buffer allocated buffer sized no less than HeaderSize 110 | * @param vnode file node 111 | * @param ctxt filesystem context 112 | * @param decompress enable decompression 113 | * @param off fat offset or 0 114 | * 115 | * @return KERN_SUCCESS if the read data contains 64-bit mach header 116 | */ 117 | kern_return_t readMachHeader(uint8_t *buffer, vnode_t vnode, vfs_context_t ctxt, off_t off=0); 118 | 119 | /** 120 | * Retrieve the whole symbol table (typically contained within the linkedit segment) into target buffer from kernel binary at disk 121 | * 122 | * @param vnode file node 123 | * @param ctxt filesystem context 124 | * 125 | * @return KERN_SUCCESS on success 126 | */ 127 | kern_return_t readSymbols(vnode_t vnode, vfs_context_t ctxt); 128 | 129 | /** 130 | * Retrieve necessary mach-o header information from the mach header 131 | * 132 | * @param header read header sized no less than HeaderSize 133 | */ 134 | void processMachHeader(void *header); 135 | 136 | /** 137 | * Load kext info dictionary and addresses if they were not loaded previously 138 | */ 139 | void updatePrelinkInfo(); 140 | 141 | /** 142 | * Lookup mach image in prelinked image 143 | * 144 | * @param identifier identifier 145 | * @param imageSize size of the returned buffer 146 | * @param slide actual slide for symbols (normally kaslr or 0) 147 | * @param missing set to true on successful prelink parsing when image is not needed 148 | * 149 | * @return pointer to const buffer on success or nullptr 150 | */ 151 | uint8_t *findImage(const char *identifier, uint32_t &imageSize, mach_vm_address_t &slide, bool &missing); 152 | 153 | MachInfo(bool asKernel, const char *id) : isKernel(asKernel), objectId(id) { 154 | DBGLOG("mach", "MachInfo asKernel %d object constructed", asKernel); 155 | } 156 | MachInfo(const MachInfo &) = delete; 157 | MachInfo &operator =(const MachInfo &) = delete; 158 | 159 | /** 160 | * Resolve mach data in the kernel via prelinked cache 161 | * 162 | * @param prelink prelink information source (i.e. Kernel MachInfo) 163 | * 164 | * @return KERN_SUCCESS if loaded 165 | */ 166 | kern_return_t initFromPrelinked(MachInfo *prelink); 167 | 168 | /** 169 | * Resolve mach data in the kernel via filesystem access 170 | * 171 | * @param paths filesystem paths for lookup 172 | * @param num the number of paths passed 173 | * 174 | * @return KERN_SUCCESS if loaded 175 | */ 176 | kern_return_t initFromFileSystem(const char * const paths[], size_t num); 177 | 178 | /** 179 | * Resolve mach data in the kernel via memory access 180 | * 181 | * @return KERN_SUCCESS if loaded 182 | */ 183 | kern_return_t initFromMemory(); 184 | 185 | public: 186 | 187 | /** 188 | * Each header is assumed to fit two pages 189 | */ 190 | static constexpr size_t HeaderSize {PAGE_SIZE_64*2}; 191 | 192 | /** 193 | * Representation mode (kernel/kext) 194 | */ 195 | EXPORT const bool isKernel; 196 | 197 | /** 198 | * Specified file identifier 199 | */ 200 | EXPORT const char *objectId {nullptr}; 201 | 202 | /** 203 | * MachInfo object generator 204 | * 205 | * @param asKernel this MachInfo represents a kernel 206 | * @param id kinfo identifier (e.g. CFBundleIdentifier) 207 | * 208 | * @return MachInfo object or nullptr 209 | */ 210 | static MachInfo *create(bool asKernel=false, const char *id=nullptr) { return new MachInfo(asKernel, id); } 211 | static void deleter(MachInfo *i NONNULL) { delete i; } 212 | 213 | /** 214 | * Resolve mach data in the kernel 215 | * 216 | * @param paths filesystem paths for lookup 217 | * @param num the number of paths passed 218 | * @param prelink prelink information source (i.e. Kernel MachInfo) 219 | * @param fsfallback fallback to reading from filesystem if prelink failed 220 | * 221 | * @return KERN_SUCCESS if loaded 222 | */ 223 | EXPORT kern_return_t init(const char * const paths[], size_t num = 1, MachInfo *prelink=nullptr, bool fsfallback=false); 224 | 225 | /** 226 | * Release the allocated memory, must be called regardless of the init error 227 | */ 228 | EXPORT void deinit(); 229 | 230 | /** 231 | * Retrieve the mach header and __TEXT addresses for KC mode 232 | * 233 | * @param slide load slide if calculating for kexts 234 | * 235 | * @return KERN_SUCCESS on success 236 | */ 237 | kern_return_t kcGetRunningAddresses(mach_vm_address_t slide); 238 | 239 | /** 240 | * Get address slot if present 241 | * 242 | * @return address slot on success 243 | * @return NULL on success 244 | */ 245 | mach_vm_address_t getAddressSlot(); 246 | 247 | /** 248 | * Retrieve the mach header and __TEXT addresses 249 | * 250 | * @param slide load slide if calculating for kexts 251 | * @param size memory size 252 | * @param force force address recalculation 253 | * 254 | * @return KERN_SUCCESS on success 255 | */ 256 | EXPORT kern_return_t getRunningAddresses(mach_vm_address_t slide=0, size_t size=0, bool force=false); 257 | 258 | /** 259 | * Set the mach header address 260 | * 261 | * @param slide load address 262 | * @param size memory size 263 | * 264 | * @return KERN_SUCCESS on success 265 | */ 266 | EXPORT kern_return_t setRunningAddresses(mach_vm_address_t slide=0, size_t size=0); 267 | 268 | /** 269 | * Retrieve running mach positions 270 | * 271 | * @param header pointer to header 272 | * @param size file size 273 | */ 274 | EXPORT void getRunningPosition(uint8_t * &header, size_t &size); 275 | 276 | /** 277 | * Solve a mach symbol (running addresses must be calculated) 278 | * 279 | * @param symbol symbol to solve 280 | * 281 | * @return running symbol address or 0 282 | */ 283 | EXPORT mach_vm_address_t solveSymbol(const char *symbol); 284 | 285 | /** 286 | * Find the kernel base address (mach-o header) 287 | * 288 | * @return kernel base address or 0 289 | */ 290 | EXPORT mach_vm_address_t findKernelBase(); 291 | 292 | /** 293 | * Compare the loaded kernel with the current UUID (see loadUUID) 294 | * 295 | * @param base image base, pass 0 to use kernel base 296 | * 297 | * @return true if image uuids match 298 | */ 299 | EXPORT bool isCurrentBinary(mach_vm_address_t base=0); 300 | 301 | /** 302 | * Enable/disable interrupt handling 303 | * this is similar to ml_set_interrupts_enabled except the return value 304 | * 305 | * @param enable the desired value 306 | * 307 | * @return true if changed the value and false if it is unchanged 308 | */ 309 | EXPORT static bool setInterrupts(bool enable); 310 | 311 | /** 312 | * Enable/disable kernel memory write protection 313 | * 314 | * @param enable the desired value 315 | * @param lock use spinlock to disable cpu preemption (see KernelPatcher::kernelWriteLock) 316 | * 317 | * @return KERN_SUCCESS if succeeded 318 | */ 319 | EXPORT static kern_return_t setKernelWriting(bool enable, IOSimpleLock *lock); 320 | 321 | /** 322 | * Find section bounds in a passed binary for provided cpu 323 | * 324 | * @param ptr pointer to a complete mach-o binary 325 | * @param sourceSize size of the mach-o binary 326 | * @param vmsegment returned vm segment pointer 327 | * @param vmsection returned vm section pointer 328 | * @param sectionptr returned section pointer 329 | * @param sectionSize returned section size or 0 on failure 330 | * @param segmentName segment name 331 | * @param sectionName section name 332 | * @param cpu cpu to look for in case of fat binaries 333 | */ 334 | EXPORT static void findSectionBounds(void *ptr, size_t sourceSize, vm_address_t &vmsegment, vm_address_t &vmsection, void *§ionptr, size_t §ionSize, const char *segmentName="__TEXT", const char *sectionName="__text", cpu_type_t cpu=CPU_TYPE_X86_64); 335 | 336 | /** 337 | * Request to free file buffer resources (not including linkedit symtable) 338 | */ 339 | void freeFileBufferResources(); 340 | 341 | /** 342 | * Get fat offset of the initialised image 343 | */ 344 | off_t getFatOffset() { 345 | return fat_offset; 346 | } 347 | }; 348 | 349 | #endif /* kern_mach_hpp */ 350 | --------------------------------------------------------------------------------