mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Remove functions prototypes from Plateform.h
This commit is contained in:
parent
36b908900a
commit
e429268dfc
@ -39,19 +39,45 @@
|
||||
9A105B2E24464A830006DE06 /* BmLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B2424464A830006DE06 /* BmLib.h */; };
|
||||
9A105B2F24464A830006DE06 /* BmLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B2424464A830006DE06 /* BmLib.h */; };
|
||||
9A105B3024464A830006DE06 /* BmLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B2424464A830006DE06 /* BmLib.h */; };
|
||||
9A105B3924483AD50006DE06 /* image.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3824483AD50006DE06 /* image.h */; };
|
||||
9A105B5D24483AE40006DE06 /* FixBiosDsdt.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3A24483ADF0006DE06 /* FixBiosDsdt.h */; };
|
||||
9A105B5E24483AE40006DE06 /* Edid.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3B24483ADF0006DE06 /* Edid.h */; };
|
||||
9A105B5F24483AE40006DE06 /* Injectors.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3C24483ADF0006DE06 /* Injectors.h */; };
|
||||
9A105B6024483AE40006DE06 /* Net.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3D24483ADF0006DE06 /* Net.h */; };
|
||||
9A105B6124483AE40006DE06 /* MachO-loader.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3E24483AE00006DE06 /* MachO-loader.h */; };
|
||||
9A105B6224483AE40006DE06 /* BootOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B3F24483AE00006DE06 /* BootOptions.h */; };
|
||||
9A105B6324483AE40006DE06 /* card_vlist.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4024483AE00006DE06 /* card_vlist.h */; };
|
||||
9A105B6424483AE40006DE06 /* plist.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4124483AE00006DE06 /* plist.h */; };
|
||||
9A105B6524483AE40006DE06 /* APFS.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4224483AE00006DE06 /* APFS.h */; };
|
||||
9A105B6624483AE40006DE06 /* LegacyBoot.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4324483AE00006DE06 /* LegacyBoot.h */; };
|
||||
9A105B6724483AE40006DE06 /* AcpiPatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4424483AE20006DE06 /* AcpiPatcher.h */; };
|
||||
9A105B6824483AE40006DE06 /* Console.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4524483AE20006DE06 /* Console.h */; };
|
||||
9A105B6924483AE40006DE06 /* APFS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B4624483AE30006DE06 /* APFS.cpp */; };
|
||||
9A105B6A24483AE40006DE06 /* stdlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4824483AE30006DE06 /* stdlib.h */; };
|
||||
9A105B6B24483AE40006DE06 /* limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4924483AE30006DE06 /* limits.h */; };
|
||||
9A105B6C24483AE40006DE06 /* strcmp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B4A24483AE30006DE06 /* strcmp.cpp */; };
|
||||
9A105B6D24483AE40006DE06 /* stddef.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4B24483AE30006DE06 /* stddef.h */; };
|
||||
9A105B6E24483AE40006DE06 /* stdio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B4C24483AE30006DE06 /* stdio.cpp */; };
|
||||
9A105B6F24483AE40006DE06 /* abort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B4D24483AE30006DE06 /* abort.cpp */; };
|
||||
9A105B7024483AE40006DE06 /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B4E24483AE30006DE06 /* wchar.cpp */; };
|
||||
9A105B7124483AE40006DE06 /* wchar.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B4F24483AE30006DE06 /* wchar.h */; };
|
||||
9A105B7224483AE40006DE06 /* posix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5024483AE30006DE06 /* posix.h */; };
|
||||
9A105B7324483AE40006DE06 /* strlen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A105B5124483AE30006DE06 /* strlen.cpp */; };
|
||||
9A105B7424483AE40006DE06 /* stdio.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5224483AE30006DE06 /* stdio.h */; };
|
||||
9A105B7524483AE40006DE06 /* stdarg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5324483AE30006DE06 /* stdarg.h */; };
|
||||
9A105B7624483AE40006DE06 /* stdint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5424483AE30006DE06 /* stdint.h */; };
|
||||
9A105B7724483AE40006DE06 /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5524483AE30006DE06 /* string.h */; };
|
||||
9A105B7824483AE40006DE06 /* usbfix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5624483AE30006DE06 /* usbfix.h */; };
|
||||
9A105B7924483AE40006DE06 /* guid.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5724483AE30006DE06 /* guid.h */; };
|
||||
9A105B7A24483AE40006DE06 /* cpu.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5824483AE30006DE06 /* cpu.h */; };
|
||||
9A105B7B24483AE40006DE06 /* PlatformDriverOverride.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5924483AE30006DE06 /* PlatformDriverOverride.h */; };
|
||||
9A105B7C24483AE40006DE06 /* StartupSound.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5A24483AE40006DE06 /* StartupSound.h */; };
|
||||
9A105B7D24483AE40006DE06 /* platformdata.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5B24483AE40006DE06 /* platformdata.h */; };
|
||||
9A105B7E24483AE40006DE06 /* smbios.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A105B5C24483AE40006DE06 /* smbios.h */; };
|
||||
9A28CC93241AB33700F3D247 /* XString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CC91241AB33700F3D247 /* XString.cpp */; };
|
||||
9A28CC94241AB33700F3D247 /* XString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC92241AB33700F3D247 /* XString.h */; };
|
||||
9A28CC97241AB34800F3D247 /* XString_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CC95241AB34800F3D247 /* XString_test.cpp */; };
|
||||
9A28CC98241AB34800F3D247 /* XString_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC96241AB34800F3D247 /* XString_test.h */; };
|
||||
9A28CCA3241B66EA00F3D247 /* stdlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9A241B66EA00F3D247 /* stdlib.h */; };
|
||||
9A28CCA4241B66EA00F3D247 /* limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9B241B66EA00F3D247 /* limits.h */; };
|
||||
9A28CCA5241B66EA00F3D247 /* stddef.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9C241B66EA00F3D247 /* stddef.h */; };
|
||||
9A28CCA9241B66EA00F3D247 /* posix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA0241B66EA00F3D247 /* posix.h */; };
|
||||
9A28CCAA241B66EA00F3D247 /* stdarg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA1241B66EA00F3D247 /* stdarg.h */; };
|
||||
9A28CCAB241B66EA00F3D247 /* stdint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA2241B66EA00F3D247 /* stdint.h */; };
|
||||
9A28CD28241BC0C700F3D247 /* abort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD25241BC0C700F3D247 /* abort.cpp */; };
|
||||
9A28CD29241BC0C700F3D247 /* strcmp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD26241BC0C700F3D247 /* strcmp.cpp */; };
|
||||
9A28CD2A241BC0C700F3D247 /* strlen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD27241BC0C700F3D247 /* strlen.cpp */; };
|
||||
9A28CD31241BC0DF00F3D247 /* strlen_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD2B241BC0DF00F3D247 /* strlen_test.cpp */; };
|
||||
9A28CD32241BC0DF00F3D247 /* strcmp_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD2C241BC0DF00F3D247 /* strcmp_test.cpp */; };
|
||||
9A28CD33241BC0DF00F3D247 /* strcmp_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CD2D241BC0DF00F3D247 /* strcmp_test.h */; };
|
||||
@ -81,11 +107,6 @@
|
||||
9A9AEB9E243F7B9100FBD7D8 /* XStringArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9AEB91243F7B5600FBD7D8 /* XStringArray.cpp */; };
|
||||
9A9AEB9F243F7B9200FBD7D8 /* XStringArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9AEB91243F7B5600FBD7D8 /* XStringArray.cpp */; };
|
||||
9A9D3B2324221563006D8CD9 /* printf_lite-test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2124221563006D8CD9 /* printf_lite-test.cpp */; };
|
||||
9A9D3B2D242215A1006D8CD9 /* stdio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B28242215A1006D8CD9 /* stdio.cpp */; };
|
||||
9A9D3B2E242215A1006D8CD9 /* stdio.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B29242215A1006D8CD9 /* stdio.h */; };
|
||||
9A9D3B2F242215A1006D8CD9 /* wchar.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2A242215A1006D8CD9 /* wchar.h */; };
|
||||
9A9D3B30242215A1006D8CD9 /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2B242215A1006D8CD9 /* string.h */; };
|
||||
9A9D3B31242215A1006D8CD9 /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2C242215A1006D8CD9 /* wchar.cpp */; };
|
||||
9AC77FB924176C04005CDD5C /* XStringWArray_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ECC24176C04005CDD5C /* XStringWArray_test.h */; };
|
||||
9AC77FBA24176C04005CDD5C /* XArray_tests.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ECD24176C04005CDD5C /* XArray_tests.h */; };
|
||||
9AC77FBB24176C04005CDD5C /* XStringWArray_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77ECE24176C04005CDD5C /* XStringWArray_test.cpp */; };
|
||||
@ -263,15 +284,11 @@
|
||||
9ACFE65C24309AF80071CC93 /* CloverKEK.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8824176C04005CDD5C /* CloverKEK.h */; };
|
||||
9ACFE65D24309AF80071CC93 /* StateGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1C24176C04005CDD5C /* StateGenerator.h */; };
|
||||
9ACFE65E24309AF80071CC93 /* remove_ref.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAA24176C04005CDD5C /* remove_ref.h */; };
|
||||
9ACFE65F24309AF80071CC93 /* wchar.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2A242215A1006D8CD9 /* wchar.h */; };
|
||||
9ACFE66024309AF80071CC93 /* loader.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4824176C04005CDD5C /* loader.h */; };
|
||||
9ACFE66124309AF80071CC93 /* AmlGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1E24176C04005CDD5C /* AmlGenerator.h */; };
|
||||
9ACFE66224309AF80071CC93 /* XStringW.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAE24176C04005CDD5C /* XStringW.h */; };
|
||||
9ACFE66424309AF80071CC93 /* BootLog.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4173C242F15CB00D2644C /* BootLog.h */; };
|
||||
9ACFE66524309AF80071CC93 /* stdarg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA1241B66EA00F3D247 /* stdarg.h */; };
|
||||
9ACFE66624309AF80071CC93 /* posix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA0241B66EA00F3D247 /* posix.h */; };
|
||||
9ACFE66724309AF80071CC93 /* list.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9824176C04005CDD5C /* list.h */; };
|
||||
9ACFE66824309AF80071CC93 /* stdlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9A241B66EA00F3D247 /* stdlib.h */; };
|
||||
9ACFE66924309AF80071CC93 /* XObjArray_tests.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED324176C04005CDD5C /* XObjArray_tests.h */; };
|
||||
9ACFE66A24309AF80071CC93 /* Events.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3424176C04005CDD5C /* Events.h */; };
|
||||
9ACFE66B24309AF80071CC93 /* printlib-test-cpp_conf.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155F242BABC700D2644C /* printlib-test-cpp_conf.h */; };
|
||||
@ -307,9 +324,7 @@
|
||||
9ACFE68A24309AF80071CC93 /* strncmp_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CD30241BC0DF00F3D247 /* strncmp_test.h */; };
|
||||
9ACFE68B24309AF80071CC93 /* XPointer.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F6324176C04005CDD5C /* XPointer.h */; };
|
||||
9ACFE68C24309AF80071CC93 /* XToolsCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAD24176C04005CDD5C /* XToolsCommon.h */; };
|
||||
9ACFE68D24309AF80071CC93 /* stdio.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B29242215A1006D8CD9 /* stdio.h */; };
|
||||
9ACFE68E24309AF80071CC93 /* bootscreen.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8724176C04005CDD5C /* bootscreen.h */; };
|
||||
9ACFE68F24309AF80071CC93 /* limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9B241B66EA00F3D247 /* limits.h */; };
|
||||
9ACFE69024309AF80071CC93 /* Settings.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F2524176C04005CDD5C /* Settings.h */; };
|
||||
9ACFE69124309AF80071CC93 /* XStringW_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED224176C04005CDD5C /* XStringW_test.h */; };
|
||||
9ACFE69324309AF80071CC93 /* ati_reg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4F24176C04005CDD5C /* ati_reg.h */; };
|
||||
@ -334,19 +349,15 @@
|
||||
9ACFE6A624309AF80071CC93 /* sse3_patcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3B24176C04005CDD5C /* sse3_patcher.h */; };
|
||||
9ACFE6A724309AF80071CC93 /* Version.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1224176C04005CDD5C /* Version.h */; };
|
||||
9ACFE6A824309AF80071CC93 /* XString_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC96241AB34800F3D247 /* XString_test.h */; };
|
||||
9ACFE6A924309AF80071CC93 /* stdint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA2241B66EA00F3D247 /* stdint.h */; };
|
||||
9ACFE6AA24309AF80071CC93 /* REFIT_MENU_SCREEN.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9024176C04005CDD5C /* REFIT_MENU_SCREEN.h */; };
|
||||
9ACFE6AB24309AF80071CC93 /* Platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F5824176C04005CDD5C /* Platform.h */; };
|
||||
9ACFE6AC24309AF80071CC93 /* XImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7124176C04005CDD5C /* XImage.h */; };
|
||||
9ACFE6AD24309AF80071CC93 /* globals_ctor.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FA424176C04005CDD5C /* globals_ctor.h */; };
|
||||
9ACFE6AE24309AF80071CC93 /* poolprint-test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155B242B8FA300D2644C /* poolprint-test.h */; };
|
||||
9ACFE6AF24309AF80071CC93 /* stddef.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9C241B66EA00F3D247 /* stddef.h */; };
|
||||
9ACFE6B024309AF80071CC93 /* securebootkeys.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8124176C04005CDD5C /* securebootkeys.h */; };
|
||||
9ACFE6B124309AF80071CC93 /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2B242215A1006D8CD9 /* string.h */; };
|
||||
9ACFE6B224309AF80071CC93 /* XString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC92241AB33700F3D247 /* XString.h */; };
|
||||
9ACFE6B324309AF80071CC93 /* FloatLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7324176C04005CDD5C /* FloatLib.h */; };
|
||||
9ACFE6B524309AF80071CC93 /* Hibernate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1F24176C04005CDD5C /* Hibernate.cpp */; };
|
||||
9ACFE6B624309AF80071CC93 /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2C242215A1006D8CD9 /* wchar.cpp */; };
|
||||
9ACFE6B724309AF80071CC93 /* DataHubCpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2C24176C04005CDD5C /* DataHubCpu.cpp */; };
|
||||
9ACFE6B824309AF80071CC93 /* hda.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3F24176C04005CDD5C /* hda.cpp */; };
|
||||
9ACFE6B924309AF80071CC93 /* egemb_icons_dark.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5E24176C04005CDD5C /* egemb_icons_dark.cpp */; };
|
||||
@ -356,7 +367,6 @@
|
||||
9ACFE6BD24309AF80071CC93 /* HdaCodecDump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1924176C04005CDD5C /* HdaCodecDump.cpp */; };
|
||||
9ACFE6BE24309AF80071CC93 /* Nvram.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3124176C04005CDD5C /* Nvram.cpp */; };
|
||||
9ACFE6BF24309AF80071CC93 /* BootOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3A24176C04005CDD5C /* BootOptions.cpp */; };
|
||||
9ACFE6C024309AF80071CC93 /* stdio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B28242215A1006D8CD9 /* stdio.cpp */; };
|
||||
9ACFE6C124309AF80071CC93 /* operatorNewDelete.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA724176C04005CDD5C /* operatorNewDelete.cpp */; };
|
||||
9ACFE6C224309AF80071CC93 /* securehash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8B24176C04005CDD5C /* securehash.cpp */; };
|
||||
9ACFE6C324309AF80071CC93 /* image.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6424176C04005CDD5C /* image.cpp */; };
|
||||
@ -376,7 +386,6 @@
|
||||
9ACFE6D324309AF80071CC93 /* StateGenerator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2124176C04005CDD5C /* StateGenerator.cpp */; };
|
||||
9ACFE6D424309AF80071CC93 /* XImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7524176C04005CDD5C /* XImage.cpp */; };
|
||||
9ACFE6D524309AF80071CC93 /* platformdata.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4224176C04005CDD5C /* platformdata.cpp */; };
|
||||
9ACFE6D624309AF80071CC93 /* strcmp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD26241BC0C700F3D247 /* strcmp.cpp */; };
|
||||
9ACFE6D724309AF80071CC93 /* XPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7024176C04005CDD5C /* XPointer.cpp */; };
|
||||
9ACFE6D824309AF80071CC93 /* strncmp_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD2E241BC0DF00F3D247 /* strncmp_test.cpp */; };
|
||||
9ACFE6D924309AF80071CC93 /* list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F9B24176C04005CDD5C /* list.cpp */; };
|
||||
@ -414,7 +423,6 @@
|
||||
9ACFE6FB24309AF80071CC93 /* spd.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4024176C04005CDD5C /* spd.cpp */; };
|
||||
9ACFE6FC24309AF80071CC93 /* printf_lite-test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2124221563006D8CD9 /* printf_lite-test.cpp */; };
|
||||
9ACFE6FD24309AF80071CC93 /* kext_patcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1B24176C04005CDD5C /* kext_patcher.cpp */; };
|
||||
9ACFE6FE24309AF80071CC93 /* abort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD25241BC0C700F3D247 /* abort.cpp */; };
|
||||
9ACFE6FF24309AF80071CC93 /* gma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3D24176C04005CDD5C /* gma.cpp */; };
|
||||
9ACFE70024309AF80071CC93 /* FloatLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6D24176C04005CDD5C /* FloatLib.cpp */; };
|
||||
9ACFE70124309AF80071CC93 /* menu_items.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7809924178F02005CDD5C /* menu_items.cpp */; };
|
||||
@ -438,7 +446,6 @@
|
||||
9ACFE71324309AF80071CC93 /* kext_inject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3024176C04005CDD5C /* kext_inject.cpp */; };
|
||||
9ACFE71424309AF80071CC93 /* guid.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5324176C04005CDD5C /* guid.cpp */; };
|
||||
9ACFE71524309AF80071CC93 /* bootscreen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8624176C04005CDD5C /* bootscreen.cpp */; };
|
||||
9ACFE71724309AF80071CC93 /* strlen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD27241BC0C700F3D247 /* strlen.cpp */; };
|
||||
9ACFE71824309AF80071CC93 /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2B24176C04005CDD5C /* Console.cpp */; };
|
||||
9ACFE71B24309AF80071CC93 /* StartupSound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4524176C04005CDD5C /* StartupSound.cpp */; };
|
||||
9ACFE71C24309AF80071CC93 /* globals_ctor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA524176C04005CDD5C /* globals_ctor.cpp */; };
|
||||
@ -467,14 +474,10 @@
|
||||
9AF41592242CD75C00D2644C /* CloverKEK.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8824176C04005CDD5C /* CloverKEK.h */; };
|
||||
9AF41593242CD75C00D2644C /* StateGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1C24176C04005CDD5C /* StateGenerator.h */; };
|
||||
9AF41594242CD75C00D2644C /* remove_ref.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAA24176C04005CDD5C /* remove_ref.h */; };
|
||||
9AF41595242CD75C00D2644C /* wchar.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2A242215A1006D8CD9 /* wchar.h */; };
|
||||
9AF41596242CD75C00D2644C /* loader.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4824176C04005CDD5C /* loader.h */; };
|
||||
9AF41597242CD75C00D2644C /* AmlGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1E24176C04005CDD5C /* AmlGenerator.h */; };
|
||||
9AF41598242CD75C00D2644C /* XStringW.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAE24176C04005CDD5C /* XStringW.h */; };
|
||||
9AF4159A242CD75C00D2644C /* stdarg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA1241B66EA00F3D247 /* stdarg.h */; };
|
||||
9AF4159B242CD75C00D2644C /* posix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA0241B66EA00F3D247 /* posix.h */; };
|
||||
9AF4159C242CD75C00D2644C /* list.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9824176C04005CDD5C /* list.h */; };
|
||||
9AF4159D242CD75C00D2644C /* stdlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9A241B66EA00F3D247 /* stdlib.h */; };
|
||||
9AF4159E242CD75C00D2644C /* XObjArray_tests.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED324176C04005CDD5C /* XObjArray_tests.h */; };
|
||||
9AF4159F242CD75C00D2644C /* Events.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3424176C04005CDD5C /* Events.h */; };
|
||||
9AF415A0242CD75C00D2644C /* printlib-test-cpp_conf.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155F242BABC700D2644C /* printlib-test-cpp_conf.h */; };
|
||||
@ -510,9 +513,7 @@
|
||||
9AF415C0242CD75C00D2644C /* strncmp_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CD30241BC0DF00F3D247 /* strncmp_test.h */; };
|
||||
9AF415C1242CD75C00D2644C /* XPointer.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F6324176C04005CDD5C /* XPointer.h */; };
|
||||
9AF415C2242CD75C00D2644C /* XToolsCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAD24176C04005CDD5C /* XToolsCommon.h */; };
|
||||
9AF415C3242CD75C00D2644C /* stdio.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B29242215A1006D8CD9 /* stdio.h */; };
|
||||
9AF415C4242CD75C00D2644C /* bootscreen.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8724176C04005CDD5C /* bootscreen.h */; };
|
||||
9AF415C5242CD75C00D2644C /* limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9B241B66EA00F3D247 /* limits.h */; };
|
||||
9AF415C6242CD75C00D2644C /* Settings.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F2524176C04005CDD5C /* Settings.h */; };
|
||||
9AF415C7242CD75C00D2644C /* XStringW_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED224176C04005CDD5C /* XStringW_test.h */; };
|
||||
9AF415C9242CD75C00D2644C /* ati_reg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4F24176C04005CDD5C /* ati_reg.h */; };
|
||||
@ -537,19 +538,15 @@
|
||||
9AF415DC242CD75C00D2644C /* sse3_patcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3B24176C04005CDD5C /* sse3_patcher.h */; };
|
||||
9AF415DD242CD75C00D2644C /* Version.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1224176C04005CDD5C /* Version.h */; };
|
||||
9AF415DE242CD75C00D2644C /* XString_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC96241AB34800F3D247 /* XString_test.h */; };
|
||||
9AF415DF242CD75C00D2644C /* stdint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA2241B66EA00F3D247 /* stdint.h */; };
|
||||
9AF415E0242CD75C00D2644C /* REFIT_MENU_SCREEN.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9024176C04005CDD5C /* REFIT_MENU_SCREEN.h */; };
|
||||
9AF415E1242CD75C00D2644C /* Platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F5824176C04005CDD5C /* Platform.h */; };
|
||||
9AF415E2242CD75C00D2644C /* XImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7124176C04005CDD5C /* XImage.h */; };
|
||||
9AF415E3242CD75C00D2644C /* globals_ctor.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FA424176C04005CDD5C /* globals_ctor.h */; };
|
||||
9AF415E4242CD75C00D2644C /* poolprint-test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155B242B8FA300D2644C /* poolprint-test.h */; };
|
||||
9AF415E5242CD75C00D2644C /* stddef.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9C241B66EA00F3D247 /* stddef.h */; };
|
||||
9AF415E6242CD75C00D2644C /* securebootkeys.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8124176C04005CDD5C /* securebootkeys.h */; };
|
||||
9AF415E7242CD75C00D2644C /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2B242215A1006D8CD9 /* string.h */; };
|
||||
9AF415E8242CD75C00D2644C /* XString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC92241AB33700F3D247 /* XString.h */; };
|
||||
9AF415E9242CD75C00D2644C /* FloatLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7324176C04005CDD5C /* FloatLib.h */; };
|
||||
9AF415EB242CD75C00D2644C /* Hibernate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1F24176C04005CDD5C /* Hibernate.cpp */; };
|
||||
9AF415EC242CD75C00D2644C /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2C242215A1006D8CD9 /* wchar.cpp */; };
|
||||
9AF415ED242CD75C00D2644C /* DataHubCpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2C24176C04005CDD5C /* DataHubCpu.cpp */; };
|
||||
9AF415EE242CD75C00D2644C /* hda.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3F24176C04005CDD5C /* hda.cpp */; };
|
||||
9AF415EF242CD75C00D2644C /* egemb_icons_dark.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5E24176C04005CDD5C /* egemb_icons_dark.cpp */; };
|
||||
@ -559,7 +556,6 @@
|
||||
9AF415F3242CD75C00D2644C /* HdaCodecDump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1924176C04005CDD5C /* HdaCodecDump.cpp */; };
|
||||
9AF415F4242CD75C00D2644C /* Nvram.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3124176C04005CDD5C /* Nvram.cpp */; };
|
||||
9AF415F5242CD75C00D2644C /* BootOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3A24176C04005CDD5C /* BootOptions.cpp */; };
|
||||
9AF415F6242CD75C00D2644C /* stdio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B28242215A1006D8CD9 /* stdio.cpp */; };
|
||||
9AF415F7242CD75C00D2644C /* operatorNewDelete.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA724176C04005CDD5C /* operatorNewDelete.cpp */; };
|
||||
9AF415F8242CD75C00D2644C /* securehash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8B24176C04005CDD5C /* securehash.cpp */; };
|
||||
9AF415F9242CD75C00D2644C /* image.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6424176C04005CDD5C /* image.cpp */; };
|
||||
@ -578,7 +574,6 @@
|
||||
9AF41608242CD75C00D2644C /* StateGenerator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2124176C04005CDD5C /* StateGenerator.cpp */; };
|
||||
9AF41609242CD75C00D2644C /* XImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7524176C04005CDD5C /* XImage.cpp */; };
|
||||
9AF4160A242CD75C00D2644C /* platformdata.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4224176C04005CDD5C /* platformdata.cpp */; };
|
||||
9AF4160B242CD75C00D2644C /* strcmp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD26241BC0C700F3D247 /* strcmp.cpp */; };
|
||||
9AF4160C242CD75C00D2644C /* XPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7024176C04005CDD5C /* XPointer.cpp */; };
|
||||
9AF4160D242CD75C00D2644C /* strncmp_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD2E241BC0DF00F3D247 /* strncmp_test.cpp */; };
|
||||
9AF4160E242CD75C00D2644C /* list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F9B24176C04005CDD5C /* list.cpp */; };
|
||||
@ -615,7 +610,6 @@
|
||||
9AF41631242CD75C00D2644C /* spd.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4024176C04005CDD5C /* spd.cpp */; };
|
||||
9AF41632242CD75C00D2644C /* printf_lite-test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2124221563006D8CD9 /* printf_lite-test.cpp */; };
|
||||
9AF41633242CD75C00D2644C /* kext_patcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1B24176C04005CDD5C /* kext_patcher.cpp */; };
|
||||
9AF41634242CD75C00D2644C /* abort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD25241BC0C700F3D247 /* abort.cpp */; };
|
||||
9AF41635242CD75C00D2644C /* gma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3D24176C04005CDD5C /* gma.cpp */; };
|
||||
9AF41636242CD75C00D2644C /* FloatLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6D24176C04005CDD5C /* FloatLib.cpp */; };
|
||||
9AF41637242CD75C00D2644C /* menu_items.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7809924178F02005CDD5C /* menu_items.cpp */; };
|
||||
@ -639,7 +633,6 @@
|
||||
9AF41649242CD75C00D2644C /* kext_inject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3024176C04005CDD5C /* kext_inject.cpp */; };
|
||||
9AF4164A242CD75C00D2644C /* guid.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5324176C04005CDD5C /* guid.cpp */; };
|
||||
9AF4164B242CD75C00D2644C /* bootscreen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8624176C04005CDD5C /* bootscreen.cpp */; };
|
||||
9AF4164D242CD75C00D2644C /* strlen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD27241BC0C700F3D247 /* strlen.cpp */; };
|
||||
9AF4164E242CD75C00D2644C /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2B24176C04005CDD5C /* Console.cpp */; };
|
||||
9AF41651242CD75C00D2644C /* StartupSound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4524176C04005CDD5C /* StartupSound.cpp */; };
|
||||
9AF41652242CD75C00D2644C /* globals_ctor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA524176C04005CDD5C /* globals_ctor.cpp */; };
|
||||
@ -662,14 +655,10 @@
|
||||
9AF4166F242CDA5800D2644C /* CloverKEK.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8824176C04005CDD5C /* CloverKEK.h */; };
|
||||
9AF41670242CDA5800D2644C /* StateGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1C24176C04005CDD5C /* StateGenerator.h */; };
|
||||
9AF41671242CDA5800D2644C /* remove_ref.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAA24176C04005CDD5C /* remove_ref.h */; };
|
||||
9AF41672242CDA5800D2644C /* wchar.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2A242215A1006D8CD9 /* wchar.h */; };
|
||||
9AF41673242CDA5800D2644C /* loader.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4824176C04005CDD5C /* loader.h */; };
|
||||
9AF41674242CDA5800D2644C /* AmlGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1E24176C04005CDD5C /* AmlGenerator.h */; };
|
||||
9AF41675242CDA5800D2644C /* XStringW.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAE24176C04005CDD5C /* XStringW.h */; };
|
||||
9AF41677242CDA5800D2644C /* stdarg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA1241B66EA00F3D247 /* stdarg.h */; };
|
||||
9AF41678242CDA5800D2644C /* posix.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA0241B66EA00F3D247 /* posix.h */; };
|
||||
9AF41679242CDA5800D2644C /* list.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9824176C04005CDD5C /* list.h */; };
|
||||
9AF4167A242CDA5800D2644C /* stdlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9A241B66EA00F3D247 /* stdlib.h */; };
|
||||
9AF4167B242CDA5800D2644C /* XObjArray_tests.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED324176C04005CDD5C /* XObjArray_tests.h */; };
|
||||
9AF4167C242CDA5800D2644C /* Events.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3424176C04005CDD5C /* Events.h */; };
|
||||
9AF4167D242CDA5800D2644C /* printlib-test-cpp_conf.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155F242BABC700D2644C /* printlib-test-cpp_conf.h */; };
|
||||
@ -705,9 +694,7 @@
|
||||
9AF4169D242CDA5800D2644C /* strncmp_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CD30241BC0DF00F3D247 /* strncmp_test.h */; };
|
||||
9AF4169E242CDA5800D2644C /* XPointer.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F6324176C04005CDD5C /* XPointer.h */; };
|
||||
9AF4169F242CDA5800D2644C /* XToolsCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FAD24176C04005CDD5C /* XToolsCommon.h */; };
|
||||
9AF416A0242CDA5800D2644C /* stdio.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B29242215A1006D8CD9 /* stdio.h */; };
|
||||
9AF416A1242CDA5800D2644C /* bootscreen.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8724176C04005CDD5C /* bootscreen.h */; };
|
||||
9AF416A2242CDA5800D2644C /* limits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9B241B66EA00F3D247 /* limits.h */; };
|
||||
9AF416A3242CDA5800D2644C /* Settings.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F2524176C04005CDD5C /* Settings.h */; };
|
||||
9AF416A4242CDA5800D2644C /* XStringW_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77ED224176C04005CDD5C /* XStringW_test.h */; };
|
||||
9AF416A6242CDA5800D2644C /* ati_reg.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F4F24176C04005CDD5C /* ati_reg.h */; };
|
||||
@ -732,19 +719,15 @@
|
||||
9AF416B9242CDA5800D2644C /* sse3_patcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F3B24176C04005CDD5C /* sse3_patcher.h */; };
|
||||
9AF416BA242CDA5800D2644C /* Version.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F1224176C04005CDD5C /* Version.h */; };
|
||||
9AF416BB242CDA5800D2644C /* XString_test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC96241AB34800F3D247 /* XString_test.h */; };
|
||||
9AF416BC242CDA5800D2644C /* stdint.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CCA2241B66EA00F3D247 /* stdint.h */; };
|
||||
9AF416BD242CDA5800D2644C /* REFIT_MENU_SCREEN.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F9024176C04005CDD5C /* REFIT_MENU_SCREEN.h */; };
|
||||
9AF416BE242CDA5800D2644C /* Platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F5824176C04005CDD5C /* Platform.h */; };
|
||||
9AF416BF242CDA5800D2644C /* XImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7124176C04005CDD5C /* XImage.h */; };
|
||||
9AF416C0242CDA5800D2644C /* globals_ctor.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77FA424176C04005CDD5C /* globals_ctor.h */; };
|
||||
9AF416C1242CDA5800D2644C /* poolprint-test.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AF4155B242B8FA300D2644C /* poolprint-test.h */; };
|
||||
9AF416C2242CDA5800D2644C /* stddef.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC9C241B66EA00F3D247 /* stddef.h */; };
|
||||
9AF416C3242CDA5800D2644C /* securebootkeys.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F8124176C04005CDD5C /* securebootkeys.h */; };
|
||||
9AF416C4242CDA5800D2644C /* string.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A9D3B2B242215A1006D8CD9 /* string.h */; };
|
||||
9AF416C5242CDA5800D2644C /* XString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A28CC92241AB33700F3D247 /* XString.h */; };
|
||||
9AF416C6242CDA5800D2644C /* FloatLib.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC77F7324176C04005CDD5C /* FloatLib.h */; };
|
||||
9AF416C8242CDA5800D2644C /* Hibernate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1F24176C04005CDD5C /* Hibernate.cpp */; };
|
||||
9AF416C9242CDA5800D2644C /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2C242215A1006D8CD9 /* wchar.cpp */; };
|
||||
9AF416CA242CDA5800D2644C /* DataHubCpu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2C24176C04005CDD5C /* DataHubCpu.cpp */; };
|
||||
9AF416CB242CDA5800D2644C /* hda.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3F24176C04005CDD5C /* hda.cpp */; };
|
||||
9AF416CC242CDA5800D2644C /* egemb_icons_dark.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5E24176C04005CDD5C /* egemb_icons_dark.cpp */; };
|
||||
@ -754,7 +737,6 @@
|
||||
9AF416D0242CDA5800D2644C /* HdaCodecDump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1924176C04005CDD5C /* HdaCodecDump.cpp */; };
|
||||
9AF416D1242CDA5800D2644C /* Nvram.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3124176C04005CDD5C /* Nvram.cpp */; };
|
||||
9AF416D2242CDA5800D2644C /* BootOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3A24176C04005CDD5C /* BootOptions.cpp */; };
|
||||
9AF416D3242CDA5800D2644C /* stdio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B28242215A1006D8CD9 /* stdio.cpp */; };
|
||||
9AF416D4242CDA5800D2644C /* operatorNewDelete.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA724176C04005CDD5C /* operatorNewDelete.cpp */; };
|
||||
9AF416D5242CDA5800D2644C /* securehash.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8B24176C04005CDD5C /* securehash.cpp */; };
|
||||
9AF416D6242CDA5800D2644C /* image.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6424176C04005CDD5C /* image.cpp */; };
|
||||
@ -773,7 +755,6 @@
|
||||
9AF416E5242CDA5800D2644C /* StateGenerator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2124176C04005CDD5C /* StateGenerator.cpp */; };
|
||||
9AF416E6242CDA5800D2644C /* XImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7524176C04005CDD5C /* XImage.cpp */; };
|
||||
9AF416E7242CDA5800D2644C /* platformdata.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4224176C04005CDD5C /* platformdata.cpp */; };
|
||||
9AF416E8242CDA5800D2644C /* strcmp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD26241BC0C700F3D247 /* strcmp.cpp */; };
|
||||
9AF416E9242CDA5800D2644C /* XPointer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F7024176C04005CDD5C /* XPointer.cpp */; };
|
||||
9AF416EA242CDA5800D2644C /* strncmp_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD2E241BC0DF00F3D247 /* strncmp_test.cpp */; };
|
||||
9AF416EB242CDA5800D2644C /* list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F9B24176C04005CDD5C /* list.cpp */; };
|
||||
@ -810,7 +791,6 @@
|
||||
9AF4170E242CDA5800D2644C /* spd.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4024176C04005CDD5C /* spd.cpp */; };
|
||||
9AF4170F242CDA5800D2644C /* printf_lite-test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A9D3B2124221563006D8CD9 /* printf_lite-test.cpp */; };
|
||||
9AF41710242CDA5800D2644C /* kext_patcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F1B24176C04005CDD5C /* kext_patcher.cpp */; };
|
||||
9AF41711242CDA5800D2644C /* abort.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD25241BC0C700F3D247 /* abort.cpp */; };
|
||||
9AF41712242CDA5800D2644C /* gma.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3D24176C04005CDD5C /* gma.cpp */; };
|
||||
9AF41713242CDA5800D2644C /* FloatLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F6D24176C04005CDD5C /* FloatLib.cpp */; };
|
||||
9AF41714242CDA5800D2644C /* menu_items.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7809924178F02005CDD5C /* menu_items.cpp */; };
|
||||
@ -834,7 +814,6 @@
|
||||
9AF41726242CDA5800D2644C /* kext_inject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F3024176C04005CDD5C /* kext_inject.cpp */; };
|
||||
9AF41727242CDA5800D2644C /* guid.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F5324176C04005CDD5C /* guid.cpp */; };
|
||||
9AF41728242CDA5800D2644C /* bootscreen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F8624176C04005CDD5C /* bootscreen.cpp */; };
|
||||
9AF4172A242CDA5800D2644C /* strlen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A28CD27241BC0C700F3D247 /* strlen.cpp */; };
|
||||
9AF4172B242CDA5800D2644C /* Console.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F2B24176C04005CDD5C /* Console.cpp */; };
|
||||
9AF4172E242CDA5800D2644C /* StartupSound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77F4524176C04005CDD5C /* StartupSound.cpp */; };
|
||||
9AF4172F242CDA5800D2644C /* globals_ctor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC77FA524176C04005CDD5C /* globals_ctor.cpp */; };
|
||||
@ -861,19 +840,45 @@
|
||||
9A105B2224464A830006DE06 /* VectorGraphics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VectorGraphics.h; sourceTree = "<group>"; };
|
||||
9A105B2324464A830006DE06 /* ftol.asm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.asm.asm; path = ftol.asm; sourceTree = "<group>"; };
|
||||
9A105B2424464A830006DE06 /* BmLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BmLib.h; sourceTree = "<group>"; };
|
||||
9A105B3824483AD50006DE06 /* image.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = image.h; sourceTree = "<group>"; };
|
||||
9A105B3A24483ADF0006DE06 /* FixBiosDsdt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FixBiosDsdt.h; sourceTree = "<group>"; };
|
||||
9A105B3B24483ADF0006DE06 /* Edid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Edid.h; sourceTree = "<group>"; };
|
||||
9A105B3C24483ADF0006DE06 /* Injectors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Injectors.h; sourceTree = "<group>"; };
|
||||
9A105B3D24483ADF0006DE06 /* Net.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Net.h; sourceTree = "<group>"; };
|
||||
9A105B3E24483AE00006DE06 /* MachO-loader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MachO-loader.h"; sourceTree = "<group>"; };
|
||||
9A105B3F24483AE00006DE06 /* BootOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BootOptions.h; sourceTree = "<group>"; };
|
||||
9A105B4024483AE00006DE06 /* card_vlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = card_vlist.h; sourceTree = "<group>"; };
|
||||
9A105B4124483AE00006DE06 /* plist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = plist.h; sourceTree = "<group>"; };
|
||||
9A105B4224483AE00006DE06 /* APFS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APFS.h; sourceTree = "<group>"; };
|
||||
9A105B4324483AE00006DE06 /* LegacyBoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LegacyBoot.h; sourceTree = "<group>"; };
|
||||
9A105B4424483AE20006DE06 /* AcpiPatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AcpiPatcher.h; sourceTree = "<group>"; };
|
||||
9A105B4524483AE20006DE06 /* Console.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Console.h; sourceTree = "<group>"; };
|
||||
9A105B4624483AE30006DE06 /* APFS.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = APFS.cpp; sourceTree = "<group>"; };
|
||||
9A105B4824483AE30006DE06 /* stdlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdlib.h; sourceTree = "<group>"; };
|
||||
9A105B4924483AE30006DE06 /* limits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = limits.h; sourceTree = "<group>"; };
|
||||
9A105B4A24483AE30006DE06 /* strcmp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strcmp.cpp; sourceTree = "<group>"; };
|
||||
9A105B4B24483AE30006DE06 /* stddef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stddef.h; sourceTree = "<group>"; };
|
||||
9A105B4C24483AE30006DE06 /* stdio.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stdio.cpp; sourceTree = "<group>"; };
|
||||
9A105B4D24483AE30006DE06 /* abort.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = abort.cpp; sourceTree = "<group>"; };
|
||||
9A105B4E24483AE30006DE06 /* wchar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wchar.cpp; sourceTree = "<group>"; };
|
||||
9A105B4F24483AE30006DE06 /* wchar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wchar.h; sourceTree = "<group>"; };
|
||||
9A105B5024483AE30006DE06 /* posix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = posix.h; sourceTree = "<group>"; };
|
||||
9A105B5124483AE30006DE06 /* strlen.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strlen.cpp; sourceTree = "<group>"; };
|
||||
9A105B5224483AE30006DE06 /* stdio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdio.h; sourceTree = "<group>"; };
|
||||
9A105B5324483AE30006DE06 /* stdarg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdarg.h; sourceTree = "<group>"; };
|
||||
9A105B5424483AE30006DE06 /* stdint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdint.h; sourceTree = "<group>"; };
|
||||
9A105B5524483AE30006DE06 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = "<group>"; };
|
||||
9A105B5624483AE30006DE06 /* usbfix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = usbfix.h; sourceTree = "<group>"; };
|
||||
9A105B5724483AE30006DE06 /* guid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guid.h; sourceTree = "<group>"; };
|
||||
9A105B5824483AE30006DE06 /* cpu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpu.h; sourceTree = "<group>"; };
|
||||
9A105B5924483AE30006DE06 /* PlatformDriverOverride.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformDriverOverride.h; sourceTree = "<group>"; };
|
||||
9A105B5A24483AE40006DE06 /* StartupSound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StartupSound.h; sourceTree = "<group>"; };
|
||||
9A105B5B24483AE40006DE06 /* platformdata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platformdata.h; sourceTree = "<group>"; };
|
||||
9A105B5C24483AE40006DE06 /* smbios.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = smbios.h; sourceTree = "<group>"; };
|
||||
9A28CC91241AB33700F3D247 /* XString.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XString.cpp; sourceTree = "<group>"; };
|
||||
9A28CC92241AB33700F3D247 /* XString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XString.h; sourceTree = "<group>"; };
|
||||
9A28CC95241AB34800F3D247 /* XString_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XString_test.cpp; sourceTree = "<group>"; };
|
||||
9A28CC96241AB34800F3D247 /* XString_test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XString_test.h; sourceTree = "<group>"; };
|
||||
9A28CC9A241B66EA00F3D247 /* stdlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdlib.h; sourceTree = "<group>"; };
|
||||
9A28CC9B241B66EA00F3D247 /* limits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = limits.h; sourceTree = "<group>"; };
|
||||
9A28CC9C241B66EA00F3D247 /* stddef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stddef.h; sourceTree = "<group>"; };
|
||||
9A28CCA0241B66EA00F3D247 /* posix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = posix.h; sourceTree = "<group>"; };
|
||||
9A28CCA1241B66EA00F3D247 /* stdarg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdarg.h; sourceTree = "<group>"; };
|
||||
9A28CCA2241B66EA00F3D247 /* stdint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdint.h; sourceTree = "<group>"; };
|
||||
9A28CD25241BC0C700F3D247 /* abort.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = abort.cpp; sourceTree = "<group>"; };
|
||||
9A28CD26241BC0C700F3D247 /* strcmp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strcmp.cpp; sourceTree = "<group>"; };
|
||||
9A28CD27241BC0C700F3D247 /* strlen.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strlen.cpp; sourceTree = "<group>"; };
|
||||
9A28CD2B241BC0DF00F3D247 /* strlen_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strlen_test.cpp; sourceTree = "<group>"; };
|
||||
9A28CD2C241BC0DF00F3D247 /* strcmp_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = strcmp_test.cpp; sourceTree = "<group>"; };
|
||||
9A28CD2D241BC0DF00F3D247 /* strcmp_test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = strcmp_test.h; sourceTree = "<group>"; };
|
||||
@ -888,11 +893,6 @@
|
||||
9A9AEB93243F7B5600FBD7D8 /* unicode_conversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unicode_conversions.h; sourceTree = "<group>"; };
|
||||
9A9AEB98243F7B7900FBD7D8 /* printf_lite-test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "printf_lite-test.h"; sourceTree = "<group>"; };
|
||||
9A9D3B2124221563006D8CD9 /* printf_lite-test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "printf_lite-test.cpp"; sourceTree = "<group>"; };
|
||||
9A9D3B28242215A1006D8CD9 /* stdio.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stdio.cpp; sourceTree = "<group>"; };
|
||||
9A9D3B29242215A1006D8CD9 /* stdio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdio.h; sourceTree = "<group>"; };
|
||||
9A9D3B2A242215A1006D8CD9 /* wchar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wchar.h; sourceTree = "<group>"; };
|
||||
9A9D3B2B242215A1006D8CD9 /* string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = string.h; sourceTree = "<group>"; };
|
||||
9A9D3B2C242215A1006D8CD9 /* wchar.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wchar.cpp; sourceTree = "<group>"; };
|
||||
9AC77EC424176BF2005CDD5C /* libCloverX64.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCloverX64.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
9AC77ECC24176C04005CDD5C /* XStringWArray_test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XStringWArray_test.h; sourceTree = "<group>"; };
|
||||
9AC77ECD24176C04005CDD5C /* XArray_tests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XArray_tests.h; sourceTree = "<group>"; };
|
||||
@ -1106,23 +1106,23 @@
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
9A28CC99241B66EA00F3D247 /* Posix */ = {
|
||||
9A105B4724483AE30006DE06 /* Posix */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9A28CD25241BC0C700F3D247 /* abort.cpp */,
|
||||
9A28CC9B241B66EA00F3D247 /* limits.h */,
|
||||
9A28CCA0241B66EA00F3D247 /* posix.h */,
|
||||
9A28CCA1241B66EA00F3D247 /* stdarg.h */,
|
||||
9A28CC9C241B66EA00F3D247 /* stddef.h */,
|
||||
9A28CCA2241B66EA00F3D247 /* stdint.h */,
|
||||
9A9D3B28242215A1006D8CD9 /* stdio.cpp */,
|
||||
9A9D3B29242215A1006D8CD9 /* stdio.h */,
|
||||
9A28CC9A241B66EA00F3D247 /* stdlib.h */,
|
||||
9A28CD26241BC0C700F3D247 /* strcmp.cpp */,
|
||||
9A9D3B2B242215A1006D8CD9 /* string.h */,
|
||||
9A28CD27241BC0C700F3D247 /* strlen.cpp */,
|
||||
9A9D3B2C242215A1006D8CD9 /* wchar.cpp */,
|
||||
9A9D3B2A242215A1006D8CD9 /* wchar.h */,
|
||||
9A105B4824483AE30006DE06 /* stdlib.h */,
|
||||
9A105B4924483AE30006DE06 /* limits.h */,
|
||||
9A105B4A24483AE30006DE06 /* strcmp.cpp */,
|
||||
9A105B4B24483AE30006DE06 /* stddef.h */,
|
||||
9A105B4C24483AE30006DE06 /* stdio.cpp */,
|
||||
9A105B4D24483AE30006DE06 /* abort.cpp */,
|
||||
9A105B4E24483AE30006DE06 /* wchar.cpp */,
|
||||
9A105B4F24483AE30006DE06 /* wchar.h */,
|
||||
9A105B5024483AE30006DE06 /* posix.h */,
|
||||
9A105B5124483AE30006DE06 /* strlen.cpp */,
|
||||
9A105B5224483AE30006DE06 /* stdio.h */,
|
||||
9A105B5324483AE30006DE06 /* stdarg.h */,
|
||||
9A105B5424483AE30006DE06 /* stdint.h */,
|
||||
9A105B5524483AE30006DE06 /* string.h */,
|
||||
);
|
||||
path = Posix;
|
||||
sourceTree = "<group>";
|
||||
@ -1223,8 +1223,11 @@
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9AC77F2024176C04005CDD5C /* AcpiPatcher.cpp */,
|
||||
9A105B4424483AE20006DE06 /* AcpiPatcher.h */,
|
||||
9AC77F2324176C04005CDD5C /* AmlGenerator.cpp */,
|
||||
9AC77F1E24176C04005CDD5C /* AmlGenerator.h */,
|
||||
9A105B4624483AE30006DE06 /* APFS.cpp */,
|
||||
9A105B4224483AE00006DE06 /* APFS.h */,
|
||||
9AC77F4F24176C04005CDD5C /* ati_reg.h */,
|
||||
9AC77F4324176C04005CDD5C /* ati.cpp */,
|
||||
9AC77F4624176C04005CDD5C /* ati.h */,
|
||||
@ -1237,21 +1240,28 @@
|
||||
9AC77F3224176C04005CDD5C /* BootLog.cpp */,
|
||||
9AF4173C242F15CB00D2644C /* BootLog.h */,
|
||||
9AC77F3A24176C04005CDD5C /* BootOptions.cpp */,
|
||||
9A105B3F24483AE00006DE06 /* BootOptions.h */,
|
||||
9AC77F5724176C04005CDD5C /* card_vlist.cpp */,
|
||||
9A105B4024483AE00006DE06 /* card_vlist.h */,
|
||||
9AC77F2B24176C04005CDD5C /* Console.cpp */,
|
||||
9A105B4524483AE20006DE06 /* Console.h */,
|
||||
9AC77F5224176C04005CDD5C /* cpu.cpp */,
|
||||
9A105B5824483AE30006DE06 /* cpu.h */,
|
||||
9AC77F2C24176C04005CDD5C /* DataHubCpu.cpp */,
|
||||
9AC77F3924176C04005CDD5C /* DataHubCpu.h */,
|
||||
9AC77F4E24176C04005CDD5C /* device_inject.cpp */,
|
||||
9AC77F2E24176C04005CDD5C /* device_inject.h */,
|
||||
9AC77F4724176C04005CDD5C /* DevicePath.cpp */,
|
||||
9AC77F2824176C04005CDD5C /* Edid.cpp */,
|
||||
9A105B3B24483ADF0006DE06 /* Edid.h */,
|
||||
9AC77F4D24176C04005CDD5C /* Events.cpp */,
|
||||
9AC77F3424176C04005CDD5C /* Events.h */,
|
||||
9AC77F5424176C04005CDD5C /* FixBiosDsdt.cpp */,
|
||||
9A105B3A24483ADF0006DE06 /* FixBiosDsdt.h */,
|
||||
9AC77F3D24176C04005CDD5C /* gma.cpp */,
|
||||
9AC77F1724176C04005CDD5C /* gma.h */,
|
||||
9AC77F5324176C04005CDD5C /* guid.cpp */,
|
||||
9A105B5724483AE30006DE06 /* guid.h */,
|
||||
9AC77F3F24176C04005CDD5C /* hda.cpp */,
|
||||
9AC77F2D24176C04005CDD5C /* hda.h */,
|
||||
9AC77F1924176C04005CDD5C /* HdaCodecDump.cpp */,
|
||||
@ -1259,6 +1269,7 @@
|
||||
9AC77F1F24176C04005CDD5C /* Hibernate.cpp */,
|
||||
9AC77F1A24176C04005CDD5C /* Hibernate.h */,
|
||||
9AC77F3524176C04005CDD5C /* Injectors.cpp */,
|
||||
9A105B3C24483ADF0006DE06 /* Injectors.h */,
|
||||
9AC77F3C24176C04005CDD5C /* kernel_patcher.cpp */,
|
||||
9AC77F2224176C04005CDD5C /* kernel_patcher.h */,
|
||||
9AC77F3024176C04005CDD5C /* kext_inject.cpp */,
|
||||
@ -1267,33 +1278,42 @@
|
||||
9AC77F3624176C04005CDD5C /* LegacyBiosThunk.cpp */,
|
||||
9AC77F4B24176C04005CDD5C /* LegacyBiosThunk.h */,
|
||||
9AC77F1824176C04005CDD5C /* LegacyBoot.cpp */,
|
||||
9A105B4324483AE00006DE06 /* LegacyBoot.h */,
|
||||
9AC77F4824176C04005CDD5C /* loader.h */,
|
||||
9AC77F2924176C04005CDD5C /* LoaderUefi.h */,
|
||||
9A105B3E24483AE00006DE06 /* MachO-loader.h */,
|
||||
9AC77F1D24176C04005CDD5C /* memvendors.h */,
|
||||
9AC77F3E24176C04005CDD5C /* Net.cpp */,
|
||||
9A105B3D24483ADF0006DE06 /* Net.h */,
|
||||
9AC77F5024176C04005CDD5C /* nvidia.cpp */,
|
||||
9AC77F3324176C04005CDD5C /* nvidia.h */,
|
||||
9AC77F3124176C04005CDD5C /* Nvram.cpp */,
|
||||
9AC77F2624176C04005CDD5C /* Nvram.h */,
|
||||
9AC77F5824176C04005CDD5C /* Platform.h */,
|
||||
9AC77F4224176C04005CDD5C /* platformdata.cpp */,
|
||||
9A105B5B24483AE40006DE06 /* platformdata.h */,
|
||||
9AC77F2724176C04005CDD5C /* PlatformDriverOverride.cpp */,
|
||||
9A105B5924483AE30006DE06 /* PlatformDriverOverride.h */,
|
||||
9AC77F4424176C04005CDD5C /* plist.cpp */,
|
||||
9A28CC99241B66EA00F3D247 /* Posix */,
|
||||
9A105B4124483AE00006DE06 /* plist.h */,
|
||||
9A105B4724483AE30006DE06 /* Posix */,
|
||||
9AC77F5924176C04005CDD5C /* Settings.cpp */,
|
||||
9AC77F2524176C04005CDD5C /* Settings.h */,
|
||||
9AC77F5124176C04005CDD5C /* smbios.cpp */,
|
||||
9A105B5C24483AE40006DE06 /* smbios.h */,
|
||||
9AC77F4A24176C04005CDD5C /* sound.cpp */,
|
||||
9AC77F4024176C04005CDD5C /* spd.cpp */,
|
||||
9AC77F5524176C04005CDD5C /* spd.h */,
|
||||
9AC77F2A24176C04005CDD5C /* sse3_5_patcher.h */,
|
||||
9AC77F3B24176C04005CDD5C /* sse3_patcher.h */,
|
||||
9AC77F4524176C04005CDD5C /* StartupSound.cpp */,
|
||||
9A105B5A24483AE40006DE06 /* StartupSound.h */,
|
||||
9AC77F2124176C04005CDD5C /* StateGenerator.cpp */,
|
||||
9AC77F1C24176C04005CDD5C /* StateGenerator.h */,
|
||||
9AC77F3724176C04005CDD5C /* string.cpp */,
|
||||
9AC77F5A24176C04005CDD5C /* string.h */,
|
||||
9AC77F5624176C04005CDD5C /* usbfix.cpp */,
|
||||
9A105B5624483AE30006DE06 /* usbfix.h */,
|
||||
);
|
||||
path = Platform;
|
||||
sourceTree = "<group>";
|
||||
@ -1301,6 +1321,7 @@
|
||||
9AC77F5C24176C04005CDD5C /* libeg */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
9A105B3824483AD50006DE06 /* image.h */,
|
||||
9A105B2424464A830006DE06 /* BmLib.h */,
|
||||
9A105B2324464A830006DE06 /* ftol.asm */,
|
||||
9A105B18244644C50006DE06 /* XCinema.cpp */,
|
||||
@ -1456,6 +1477,7 @@
|
||||
9A105B1E244644C50006DE06 /* XCinema.h in Headers */,
|
||||
9AC7807224176C04005CDD5C /* menu_items.h in Headers */,
|
||||
A5E326322428F4EE002240E8 /* XTheme.h in Headers */,
|
||||
9A105B7924483AE40006DE06 /* guid.h in Headers */,
|
||||
9AC7801C24176C04005CDD5C /* nvidia.h in Headers */,
|
||||
9AC7808524176C04005CDD5C /* operatorNewDelete.h in Headers */,
|
||||
9AF41741242F15CC00D2644C /* BasicIO.h in Headers */,
|
||||
@ -1466,36 +1488,40 @@
|
||||
9AC7806E24176C04005CDD5C /* CloverKEK.h in Headers */,
|
||||
9AC7800524176C04005CDD5C /* StateGenerator.h in Headers */,
|
||||
9AC7808C24176C04005CDD5C /* remove_ref.h in Headers */,
|
||||
9A9D3B2F242215A1006D8CD9 /* wchar.h in Headers */,
|
||||
9AC7803124176C04005CDD5C /* loader.h in Headers */,
|
||||
9AC7800724176C04005CDD5C /* AmlGenerator.h in Headers */,
|
||||
9AC7808F24176C04005CDD5C /* XStringW.h in Headers */,
|
||||
9A105B2D24464A830006DE06 /* BmLib.h in Headers */,
|
||||
9AF4173F242F15CC00D2644C /* BootLog.h in Headers */,
|
||||
9A28CCAA241B66EA00F3D247 /* stdarg.h in Headers */,
|
||||
9A28CCA9241B66EA00F3D247 /* posix.h in Headers */,
|
||||
9AC7807B24176C04005CDD5C /* list.h in Headers */,
|
||||
9A28CCA3241B66EA00F3D247 /* stdlib.h in Headers */,
|
||||
9AC77FC024176C04005CDD5C /* XObjArray_tests.h in Headers */,
|
||||
9AC7801D24176C04005CDD5C /* Events.h in Headers */,
|
||||
9AF41562242BABC700D2644C /* printlib-test-cpp_conf.h in Headers */,
|
||||
9AC7808D24176C04005CDD5C /* XStringWArray.h in Headers */,
|
||||
9A105B7824483AE40006DE06 /* usbfix.h in Headers */,
|
||||
9A28CD33241BC0DF00F3D247 /* strcmp_test.h in Headers */,
|
||||
9AC7802124176C04005CDD5C /* boot.h in Headers */,
|
||||
9AC7802F24176C04005CDD5C /* ati.h in Headers */,
|
||||
9A105B6D24483AE40006DE06 /* stddef.h in Headers */,
|
||||
9AC780B52417EE53005CDD5C /* global_test.h in Headers */,
|
||||
9A105B7224483AE40006DE06 /* posix.h in Headers */,
|
||||
9AC7806324176C04005CDD5C /* CanonicalDB.h in Headers */,
|
||||
9AC7805924176C04005CDD5C /* nanosvg.h in Headers */,
|
||||
9AF41566242BAD5600D2644C /* printf_lite-test-cpp_conf.h in Headers */,
|
||||
9A105B7624483AE40006DE06 /* stdint.h in Headers */,
|
||||
9AC7806124176C04005CDD5C /* CloverDB.h in Headers */,
|
||||
9AC7803424176C04005CDD5C /* LegacyBiosThunk.h in Headers */,
|
||||
9AC7806A24176C04005CDD5C /* tool.h in Headers */,
|
||||
9AC7808324176C04005CDD5C /* globals_dtor.h in Headers */,
|
||||
9A105B6524483AE40006DE06 /* APFS.h in Headers */,
|
||||
9AC7808024176C04005CDD5C /* screen.h in Headers */,
|
||||
9AF41563242BABC700D2644C /* printlib-test.h in Headers */,
|
||||
9A105B5D24483AE40006DE06 /* FixBiosDsdt.h in Headers */,
|
||||
9A9AEB96243F7B5600FBD7D8 /* XStringArray.h in Headers */,
|
||||
9A105B6624483AE40006DE06 /* LegacyBoot.h in Headers */,
|
||||
9AC7802224176C04005CDD5C /* DataHubCpu.h in Headers */,
|
||||
9AC7807A24176C04005CDD5C /* lib.h in Headers */,
|
||||
9A105B6A24483AE40006DE06 /* stdlib.h in Headers */,
|
||||
9AC7803524176C04005CDD5C /* b64cdecode.h in Headers */,
|
||||
9AC7805224176C04005CDD5C /* EfiFileLib.h in Headers */,
|
||||
9AC7807324176C04005CDD5C /* menu_globals.h in Headers */,
|
||||
@ -1504,19 +1530,25 @@
|
||||
9AC7804324176C04005CDD5C /* string.h in Headers */,
|
||||
9AC7801324176C04005CDD5C /* sse3_5_patcher.h in Headers */,
|
||||
9AC7803E24176C04005CDD5C /* spd.h in Headers */,
|
||||
9A105B7524483AE40006DE06 /* stdarg.h in Headers */,
|
||||
9AC7807D24176C04005CDD5C /* IO.h in Headers */,
|
||||
9A105B6424483AE40006DE06 /* plist.h in Headers */,
|
||||
9AC7801724176C04005CDD5C /* device_inject.h in Headers */,
|
||||
9A105B6124483AE40006DE06 /* MachO-loader.h in Headers */,
|
||||
9AC7806624176C04005CDD5C /* entry_scan.h in Headers */,
|
||||
9A105B6824483AE40006DE06 /* Console.h in Headers */,
|
||||
9AC7801224176C04005CDD5C /* LoaderUefi.h in Headers */,
|
||||
9AC7801624176C04005CDD5C /* hda.h in Headers */,
|
||||
9A105B7D24483AE40006DE06 /* platformdata.h in Headers */,
|
||||
9AC77FC424176C04005CDD5C /* all_tests.h in Headers */,
|
||||
9A28CD36241BC0DF00F3D247 /* strncmp_test.h in Headers */,
|
||||
9A105B7124483AE40006DE06 /* wchar.h in Headers */,
|
||||
9AC7804A24176C04005CDD5C /* XPointer.h in Headers */,
|
||||
9AC7808E24176C04005CDD5C /* XToolsCommon.h in Headers */,
|
||||
9A9D3B2E242215A1006D8CD9 /* stdio.h in Headers */,
|
||||
9AC7806D24176C04005CDD5C /* bootscreen.h in Headers */,
|
||||
9A28CCA4241B66EA00F3D247 /* limits.h in Headers */,
|
||||
9AC7800E24176C04005CDD5C /* Settings.h in Headers */,
|
||||
9A105B3924483AD50006DE06 /* image.h in Headers */,
|
||||
9A105B7A24483AE40006DE06 /* cpu.h in Headers */,
|
||||
9AC77FBF24176C04005CDD5C /* XStringW_test.h in Headers */,
|
||||
9AC7803824176C04005CDD5C /* ati_reg.h in Headers */,
|
||||
9AC7804824176C04005CDD5C /* libegint.h in Headers */,
|
||||
@ -1531,7 +1563,9 @@
|
||||
9AC77FBA24176C04005CDD5C /* XArray_tests.h in Headers */,
|
||||
9A09863B2438A15400826276 /* shared_with_menu.h in Headers */,
|
||||
9AC77FFF24176C04005CDD5C /* Handle.h in Headers */,
|
||||
9A105B5F24483AE40006DE06 /* Injectors.h in Headers */,
|
||||
9AC7809724176C04005CDD5C /* XArray.h in Headers */,
|
||||
9A105B7424483AE40006DE06 /* stdio.h in Headers */,
|
||||
9AC7805D24176C04005CDD5C /* MSPCADB.h in Headers */,
|
||||
9AC7804F24176C04005CDD5C /* libeg.h in Headers */,
|
||||
9AC7802A24176C04005CDD5C /* HdaCodecDump.h in Headers */,
|
||||
@ -1539,20 +1573,27 @@
|
||||
9AC7800F24176C04005CDD5C /* Nvram.h in Headers */,
|
||||
9A9AEB97243F7B5600FBD7D8 /* unicode_conversions.h in Headers */,
|
||||
9AF41568242BAD7D00D2644C /* poolprint-test-cpp_conf.h in Headers */,
|
||||
9A105B7724483AE40006DE06 /* string.h in Headers */,
|
||||
9AC7800024176C04005CDD5C /* gma.h in Headers */,
|
||||
9A105B7E24483AE40006DE06 /* smbios.h in Headers */,
|
||||
9A105B6224483AE40006DE06 /* BootOptions.h in Headers */,
|
||||
9A105B5E24483AE40006DE06 /* Edid.h in Headers */,
|
||||
9A105B6B24483AE40006DE06 /* limits.h in Headers */,
|
||||
9A105B6024483AE40006DE06 /* Net.h in Headers */,
|
||||
9A105B6724483AE40006DE06 /* AcpiPatcher.h in Headers */,
|
||||
9AC7802424176C04005CDD5C /* sse3_patcher.h in Headers */,
|
||||
9AC77FFD24176C04005CDD5C /* Version.h in Headers */,
|
||||
9A28CC98241AB34800F3D247 /* XString_test.h in Headers */,
|
||||
9A28CCAB241B66EA00F3D247 /* stdint.h in Headers */,
|
||||
9AC7807424176C04005CDD5C /* REFIT_MENU_SCREEN.h in Headers */,
|
||||
9A105B7C24483AE40006DE06 /* StartupSound.h in Headers */,
|
||||
9AC7804124176C04005CDD5C /* Platform.h in Headers */,
|
||||
9AC7805824176C04005CDD5C /* XImage.h in Headers */,
|
||||
9AC7808624176C04005CDD5C /* globals_ctor.h in Headers */,
|
||||
9AF4155D242B8FA400D2644C /* poolprint-test.h in Headers */,
|
||||
9A28CCA5241B66EA00F3D247 /* stddef.h in Headers */,
|
||||
9A4185B62439F29D00BEAFB8 /* LoadOptions_test.h in Headers */,
|
||||
9AC7806724176C04005CDD5C /* securebootkeys.h in Headers */,
|
||||
9A9D3B30242215A1006D8CD9 /* string.h in Headers */,
|
||||
9A105B6324483AE40006DE06 /* card_vlist.h in Headers */,
|
||||
9A105B7B24483AE40006DE06 /* PlatformDriverOverride.h in Headers */,
|
||||
9A28CC94241AB33700F3D247 /* XString.h in Headers */,
|
||||
9AC7805A24176C04005CDD5C /* FloatLib.h in Headers */,
|
||||
);
|
||||
@ -1577,15 +1618,11 @@
|
||||
9ACFE65C24309AF80071CC93 /* CloverKEK.h in Headers */,
|
||||
9ACFE65D24309AF80071CC93 /* StateGenerator.h in Headers */,
|
||||
9ACFE65E24309AF80071CC93 /* remove_ref.h in Headers */,
|
||||
9ACFE65F24309AF80071CC93 /* wchar.h in Headers */,
|
||||
9ACFE66024309AF80071CC93 /* loader.h in Headers */,
|
||||
9ACFE66124309AF80071CC93 /* AmlGenerator.h in Headers */,
|
||||
9ACFE66224309AF80071CC93 /* XStringW.h in Headers */,
|
||||
9ACFE66424309AF80071CC93 /* BootLog.h in Headers */,
|
||||
9ACFE66524309AF80071CC93 /* stdarg.h in Headers */,
|
||||
9ACFE66624309AF80071CC93 /* posix.h in Headers */,
|
||||
9ACFE66724309AF80071CC93 /* list.h in Headers */,
|
||||
9ACFE66824309AF80071CC93 /* stdlib.h in Headers */,
|
||||
9ACFE66924309AF80071CC93 /* XObjArray_tests.h in Headers */,
|
||||
9ACFE66A24309AF80071CC93 /* Events.h in Headers */,
|
||||
9ACFE66B24309AF80071CC93 /* printlib-test-cpp_conf.h in Headers */,
|
||||
@ -1622,9 +1659,7 @@
|
||||
9ACFE68A24309AF80071CC93 /* strncmp_test.h in Headers */,
|
||||
9ACFE68B24309AF80071CC93 /* XPointer.h in Headers */,
|
||||
9ACFE68C24309AF80071CC93 /* XToolsCommon.h in Headers */,
|
||||
9ACFE68D24309AF80071CC93 /* stdio.h in Headers */,
|
||||
9ACFE68E24309AF80071CC93 /* bootscreen.h in Headers */,
|
||||
9ACFE68F24309AF80071CC93 /* limits.h in Headers */,
|
||||
9ACFE69024309AF80071CC93 /* Settings.h in Headers */,
|
||||
9ACFE69124309AF80071CC93 /* XStringW_test.h in Headers */,
|
||||
9ACFE69324309AF80071CC93 /* ati_reg.h in Headers */,
|
||||
@ -1651,16 +1686,13 @@
|
||||
9ACFE6A624309AF80071CC93 /* sse3_patcher.h in Headers */,
|
||||
9ACFE6A724309AF80071CC93 /* Version.h in Headers */,
|
||||
9ACFE6A824309AF80071CC93 /* XString_test.h in Headers */,
|
||||
9ACFE6A924309AF80071CC93 /* stdint.h in Headers */,
|
||||
9ACFE6AA24309AF80071CC93 /* REFIT_MENU_SCREEN.h in Headers */,
|
||||
9ACFE6AB24309AF80071CC93 /* Platform.h in Headers */,
|
||||
9ACFE6AC24309AF80071CC93 /* XImage.h in Headers */,
|
||||
9ACFE6AD24309AF80071CC93 /* globals_ctor.h in Headers */,
|
||||
9ACFE6AE24309AF80071CC93 /* poolprint-test.h in Headers */,
|
||||
9ACFE6AF24309AF80071CC93 /* stddef.h in Headers */,
|
||||
9A4185B92439F29D00BEAFB8 /* LoadOptions_test.h in Headers */,
|
||||
9ACFE6B024309AF80071CC93 /* securebootkeys.h in Headers */,
|
||||
9ACFE6B124309AF80071CC93 /* string.h in Headers */,
|
||||
9ACFE6B224309AF80071CC93 /* XString.h in Headers */,
|
||||
9ACFE6B324309AF80071CC93 /* FloatLib.h in Headers */,
|
||||
);
|
||||
@ -1684,14 +1716,10 @@
|
||||
9AF41592242CD75C00D2644C /* CloverKEK.h in Headers */,
|
||||
9AF41593242CD75C00D2644C /* StateGenerator.h in Headers */,
|
||||
9AF41594242CD75C00D2644C /* remove_ref.h in Headers */,
|
||||
9AF41595242CD75C00D2644C /* wchar.h in Headers */,
|
||||
9AF41596242CD75C00D2644C /* loader.h in Headers */,
|
||||
9AF41597242CD75C00D2644C /* AmlGenerator.h in Headers */,
|
||||
9AF41598242CD75C00D2644C /* XStringW.h in Headers */,
|
||||
9AF4159A242CD75C00D2644C /* stdarg.h in Headers */,
|
||||
9AF4159B242CD75C00D2644C /* posix.h in Headers */,
|
||||
9AF4159C242CD75C00D2644C /* list.h in Headers */,
|
||||
9AF4159D242CD75C00D2644C /* stdlib.h in Headers */,
|
||||
9AF4159E242CD75C00D2644C /* XObjArray_tests.h in Headers */,
|
||||
9AF4159F242CD75C00D2644C /* Events.h in Headers */,
|
||||
9AF415A0242CD75C00D2644C /* printlib-test-cpp_conf.h in Headers */,
|
||||
@ -1729,9 +1757,7 @@
|
||||
9AF415C0242CD75C00D2644C /* strncmp_test.h in Headers */,
|
||||
9AF415C1242CD75C00D2644C /* XPointer.h in Headers */,
|
||||
9AF415C2242CD75C00D2644C /* XToolsCommon.h in Headers */,
|
||||
9AF415C3242CD75C00D2644C /* stdio.h in Headers */,
|
||||
9AF415C4242CD75C00D2644C /* bootscreen.h in Headers */,
|
||||
9AF415C5242CD75C00D2644C /* limits.h in Headers */,
|
||||
9AF415C6242CD75C00D2644C /* Settings.h in Headers */,
|
||||
9AF415C7242CD75C00D2644C /* XStringW_test.h in Headers */,
|
||||
9AF415C9242CD75C00D2644C /* ati_reg.h in Headers */,
|
||||
@ -1758,15 +1784,12 @@
|
||||
9AF415DD242CD75C00D2644C /* Version.h in Headers */,
|
||||
9AF415DE242CD75C00D2644C /* XString_test.h in Headers */,
|
||||
9A105B1F244644C50006DE06 /* XCinema.h in Headers */,
|
||||
9AF415DF242CD75C00D2644C /* stdint.h in Headers */,
|
||||
9AF415E0242CD75C00D2644C /* REFIT_MENU_SCREEN.h in Headers */,
|
||||
9AF415E1242CD75C00D2644C /* Platform.h in Headers */,
|
||||
9AF415E2242CD75C00D2644C /* XImage.h in Headers */,
|
||||
9AF415E3242CD75C00D2644C /* globals_ctor.h in Headers */,
|
||||
9AF415E4242CD75C00D2644C /* poolprint-test.h in Headers */,
|
||||
9AF415E5242CD75C00D2644C /* stddef.h in Headers */,
|
||||
9AF415E6242CD75C00D2644C /* securebootkeys.h in Headers */,
|
||||
9AF415E7242CD75C00D2644C /* string.h in Headers */,
|
||||
9AF415E8242CD75C00D2644C /* XString.h in Headers */,
|
||||
9AF415E9242CD75C00D2644C /* FloatLib.h in Headers */,
|
||||
);
|
||||
@ -1790,14 +1813,10 @@
|
||||
9AF4166F242CDA5800D2644C /* CloverKEK.h in Headers */,
|
||||
9AF41670242CDA5800D2644C /* StateGenerator.h in Headers */,
|
||||
9AF41671242CDA5800D2644C /* remove_ref.h in Headers */,
|
||||
9AF41672242CDA5800D2644C /* wchar.h in Headers */,
|
||||
9AF41673242CDA5800D2644C /* loader.h in Headers */,
|
||||
9AF41674242CDA5800D2644C /* AmlGenerator.h in Headers */,
|
||||
9AF41675242CDA5800D2644C /* XStringW.h in Headers */,
|
||||
9AF41677242CDA5800D2644C /* stdarg.h in Headers */,
|
||||
9AF41678242CDA5800D2644C /* posix.h in Headers */,
|
||||
9AF41679242CDA5800D2644C /* list.h in Headers */,
|
||||
9AF4167A242CDA5800D2644C /* stdlib.h in Headers */,
|
||||
9AF4167B242CDA5800D2644C /* XObjArray_tests.h in Headers */,
|
||||
9AF4167C242CDA5800D2644C /* Events.h in Headers */,
|
||||
9AF4167D242CDA5800D2644C /* printlib-test-cpp_conf.h in Headers */,
|
||||
@ -1835,9 +1854,7 @@
|
||||
9AF4169D242CDA5800D2644C /* strncmp_test.h in Headers */,
|
||||
9AF4169E242CDA5800D2644C /* XPointer.h in Headers */,
|
||||
9AF4169F242CDA5800D2644C /* XToolsCommon.h in Headers */,
|
||||
9AF416A0242CDA5800D2644C /* stdio.h in Headers */,
|
||||
9AF416A1242CDA5800D2644C /* bootscreen.h in Headers */,
|
||||
9AF416A2242CDA5800D2644C /* limits.h in Headers */,
|
||||
9AF416A3242CDA5800D2644C /* Settings.h in Headers */,
|
||||
9AF416A4242CDA5800D2644C /* XStringW_test.h in Headers */,
|
||||
9AF416A6242CDA5800D2644C /* ati_reg.h in Headers */,
|
||||
@ -1864,15 +1881,12 @@
|
||||
9AF416BA242CDA5800D2644C /* Version.h in Headers */,
|
||||
9AF416BB242CDA5800D2644C /* XString_test.h in Headers */,
|
||||
9A105B20244644C50006DE06 /* XCinema.h in Headers */,
|
||||
9AF416BC242CDA5800D2644C /* stdint.h in Headers */,
|
||||
9AF416BD242CDA5800D2644C /* REFIT_MENU_SCREEN.h in Headers */,
|
||||
9AF416BE242CDA5800D2644C /* Platform.h in Headers */,
|
||||
9AF416BF242CDA5800D2644C /* XImage.h in Headers */,
|
||||
9AF416C0242CDA5800D2644C /* globals_ctor.h in Headers */,
|
||||
9AF416C1242CDA5800D2644C /* poolprint-test.h in Headers */,
|
||||
9AF416C2242CDA5800D2644C /* stddef.h in Headers */,
|
||||
9AF416C3242CDA5800D2644C /* securebootkeys.h in Headers */,
|
||||
9AF416C4242CDA5800D2644C /* string.h in Headers */,
|
||||
9AF416C5242CDA5800D2644C /* XString.h in Headers */,
|
||||
9AF416C6242CDA5800D2644C /* FloatLib.h in Headers */,
|
||||
);
|
||||
@ -2063,7 +2077,7 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9AC7800824176C04005CDD5C /* Hibernate.cpp in Sources */,
|
||||
9A9D3B31242215A1006D8CD9 /* wchar.cpp in Sources */,
|
||||
9A105B7024483AE40006DE06 /* wchar.cpp in Sources */,
|
||||
9AC7801524176C04005CDD5C /* DataHubCpu.cpp in Sources */,
|
||||
9AC7802824176C04005CDD5C /* hda.cpp in Sources */,
|
||||
9AC7804524176C04005CDD5C /* egemb_icons_dark.cpp in Sources */,
|
||||
@ -2073,11 +2087,13 @@
|
||||
9AC7800224176C04005CDD5C /* HdaCodecDump.cpp in Sources */,
|
||||
9AC7801A24176C04005CDD5C /* Nvram.cpp in Sources */,
|
||||
9AC7802324176C04005CDD5C /* BootOptions.cpp in Sources */,
|
||||
9A9D3B2D242215A1006D8CD9 /* stdio.cpp in Sources */,
|
||||
9AC7808924176C04005CDD5C /* operatorNewDelete.cpp in Sources */,
|
||||
9A105B1A244644C50006DE06 /* XCinema.cpp in Sources */,
|
||||
9A105B6F24483AE40006DE06 /* abort.cpp in Sources */,
|
||||
9AC7807124176C04005CDD5C /* securehash.cpp in Sources */,
|
||||
9AC7804B24176C04005CDD5C /* image.cpp in Sources */,
|
||||
9A105B6E24483AE40006DE06 /* stdio.cpp in Sources */,
|
||||
9A105B7324483AE40006DE06 /* strlen.cpp in Sources */,
|
||||
9AC7803624176C04005CDD5C /* Events.cpp in Sources */,
|
||||
9AC7805B24176C04005CDD5C /* libscreen.cpp in Sources */,
|
||||
9A28CD31241BC0DF00F3D247 /* strlen_test.cpp in Sources */,
|
||||
@ -2096,7 +2112,6 @@
|
||||
9AC7805C24176C04005CDD5C /* XImage.cpp in Sources */,
|
||||
9A014999244091B200B37399 /* printlib-test.cpp in Sources */,
|
||||
9AC7802B24176C04005CDD5C /* platformdata.cpp in Sources */,
|
||||
9A28CD29241BC0C700F3D247 /* strcmp.cpp in Sources */,
|
||||
9AC7805724176C04005CDD5C /* XPointer.cpp in Sources */,
|
||||
9A28CD34241BC0DF00F3D247 /* strncmp_test.cpp in Sources */,
|
||||
9AC7807E24176C04005CDD5C /* list.cpp in Sources */,
|
||||
@ -2107,6 +2122,7 @@
|
||||
9AC7804024176C04005CDD5C /* card_vlist.cpp in Sources */,
|
||||
9AC780B32417EE4B005CDD5C /* global_test.cpp in Sources */,
|
||||
9AC7805624176C04005CDD5C /* load_icns.cpp in Sources */,
|
||||
9A105B6924483AE40006DE06 /* APFS.cpp in Sources */,
|
||||
9AC7805124176C04005CDD5C /* egemb_font.cpp in Sources */,
|
||||
9AC7806424176C04005CDD5C /* securemenu.cpp in Sources */,
|
||||
9AC7804D24176C04005CDD5C /* text.cpp in Sources */,
|
||||
@ -2129,6 +2145,7 @@
|
||||
9AC7803724176C04005CDD5C /* device_inject.cpp in Sources */,
|
||||
9AC7804224176C04005CDD5C /* Settings.cpp in Sources */,
|
||||
9A0986372438A15400826276 /* shared_with_menu.cpp in Sources */,
|
||||
9A105B6C24483AE40006DE06 /* strcmp.cpp in Sources */,
|
||||
9AC7805F24176C04005CDD5C /* legacy.cpp in Sources */,
|
||||
9AC7800924176C04005CDD5C /* AcpiPatcher.cpp in Sources */,
|
||||
9AC7800D24176C04005CDD5C /* BdsConnect.cpp in Sources */,
|
||||
@ -2136,7 +2153,6 @@
|
||||
9AC7802924176C04005CDD5C /* spd.cpp in Sources */,
|
||||
9A9D3B2324221563006D8CD9 /* printf_lite-test.cpp in Sources */,
|
||||
9AC7800424176C04005CDD5C /* kext_patcher.cpp in Sources */,
|
||||
9A28CD28241BC0C700F3D247 /* abort.cpp in Sources */,
|
||||
9AC7802624176C04005CDD5C /* gma.cpp in Sources */,
|
||||
9AC7805424176C04005CDD5C /* FloatLib.cpp in Sources */,
|
||||
9AC7809A24178F02005CDD5C /* menu_items.cpp in Sources */,
|
||||
@ -2162,7 +2178,6 @@
|
||||
9AC7803C24176C04005CDD5C /* guid.cpp in Sources */,
|
||||
9A9AEB94243F7B5600FBD7D8 /* unicode_conversions.cpp in Sources */,
|
||||
9AC7806C24176C04005CDD5C /* bootscreen.cpp in Sources */,
|
||||
9A28CD2A241BC0C700F3D247 /* strlen.cpp in Sources */,
|
||||
9AC7801424176C04005CDD5C /* Console.cpp in Sources */,
|
||||
9AC7802E24176C04005CDD5C /* StartupSound.cpp in Sources */,
|
||||
9AC7808724176C04005CDD5C /* globals_ctor.cpp in Sources */,
|
||||
@ -2180,7 +2195,6 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9ACFE6B524309AF80071CC93 /* Hibernate.cpp in Sources */,
|
||||
9ACFE6B624309AF80071CC93 /* wchar.cpp in Sources */,
|
||||
9ACFE6B724309AF80071CC93 /* DataHubCpu.cpp in Sources */,
|
||||
9ACFE6B824309AF80071CC93 /* hda.cpp in Sources */,
|
||||
9ACFE6B924309AF80071CC93 /* egemb_icons_dark.cpp in Sources */,
|
||||
@ -2190,7 +2204,6 @@
|
||||
9ACFE6BD24309AF80071CC93 /* HdaCodecDump.cpp in Sources */,
|
||||
9ACFE6BE24309AF80071CC93 /* Nvram.cpp in Sources */,
|
||||
9ACFE6BF24309AF80071CC93 /* BootOptions.cpp in Sources */,
|
||||
9ACFE6C024309AF80071CC93 /* stdio.cpp in Sources */,
|
||||
9ACFE6C124309AF80071CC93 /* operatorNewDelete.cpp in Sources */,
|
||||
9A105B1D244644C50006DE06 /* XCinema.cpp in Sources */,
|
||||
9ACFE6C224309AF80071CC93 /* securehash.cpp in Sources */,
|
||||
@ -2212,7 +2225,6 @@
|
||||
9ACFE6D424309AF80071CC93 /* XImage.cpp in Sources */,
|
||||
9ACFE6D524309AF80071CC93 /* platformdata.cpp in Sources */,
|
||||
9A01499C244091B300B37399 /* printlib-test.cpp in Sources */,
|
||||
9ACFE6D624309AF80071CC93 /* strcmp.cpp in Sources */,
|
||||
9ACFE6D724309AF80071CC93 /* XPointer.cpp in Sources */,
|
||||
9ACFE6D824309AF80071CC93 /* strncmp_test.cpp in Sources */,
|
||||
9ACFE6D924309AF80071CC93 /* list.cpp in Sources */,
|
||||
@ -2254,7 +2266,6 @@
|
||||
9ACFE6FB24309AF80071CC93 /* spd.cpp in Sources */,
|
||||
9ACFE6FC24309AF80071CC93 /* printf_lite-test.cpp in Sources */,
|
||||
9ACFE6FD24309AF80071CC93 /* kext_patcher.cpp in Sources */,
|
||||
9ACFE6FE24309AF80071CC93 /* abort.cpp in Sources */,
|
||||
9ACFE6FF24309AF80071CC93 /* gma.cpp in Sources */,
|
||||
9ACFE70024309AF80071CC93 /* FloatLib.cpp in Sources */,
|
||||
9ACFE70124309AF80071CC93 /* menu_items.cpp in Sources */,
|
||||
@ -2279,7 +2290,6 @@
|
||||
9ACFE71424309AF80071CC93 /* guid.cpp in Sources */,
|
||||
9A9AEB9C243F7B8400FBD7D8 /* unicode_conversions.cpp in Sources */,
|
||||
9ACFE71524309AF80071CC93 /* bootscreen.cpp in Sources */,
|
||||
9ACFE71724309AF80071CC93 /* strlen.cpp in Sources */,
|
||||
9ACFE71824309AF80071CC93 /* Console.cpp in Sources */,
|
||||
9ACFE71B24309AF80071CC93 /* StartupSound.cpp in Sources */,
|
||||
9ACFE71C24309AF80071CC93 /* globals_ctor.cpp in Sources */,
|
||||
@ -2297,7 +2307,6 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9AF415EB242CD75C00D2644C /* Hibernate.cpp in Sources */,
|
||||
9AF415EC242CD75C00D2644C /* wchar.cpp in Sources */,
|
||||
9AF415ED242CD75C00D2644C /* DataHubCpu.cpp in Sources */,
|
||||
9AF415EE242CD75C00D2644C /* hda.cpp in Sources */,
|
||||
9AF415EF242CD75C00D2644C /* egemb_icons_dark.cpp in Sources */,
|
||||
@ -2307,7 +2316,6 @@
|
||||
9AF415F3242CD75C00D2644C /* HdaCodecDump.cpp in Sources */,
|
||||
9AF415F4242CD75C00D2644C /* Nvram.cpp in Sources */,
|
||||
9AF415F5242CD75C00D2644C /* BootOptions.cpp in Sources */,
|
||||
9AF415F6242CD75C00D2644C /* stdio.cpp in Sources */,
|
||||
9AF415F7242CD75C00D2644C /* operatorNewDelete.cpp in Sources */,
|
||||
9A105B1B244644C50006DE06 /* XCinema.cpp in Sources */,
|
||||
9AF415F8242CD75C00D2644C /* securehash.cpp in Sources */,
|
||||
@ -2329,7 +2337,6 @@
|
||||
9AF41609242CD75C00D2644C /* XImage.cpp in Sources */,
|
||||
9AF4160A242CD75C00D2644C /* platformdata.cpp in Sources */,
|
||||
9A01499A244091B200B37399 /* printlib-test.cpp in Sources */,
|
||||
9AF4160B242CD75C00D2644C /* strcmp.cpp in Sources */,
|
||||
9AF4160C242CD75C00D2644C /* XPointer.cpp in Sources */,
|
||||
9AF4160D242CD75C00D2644C /* strncmp_test.cpp in Sources */,
|
||||
9AF4160E242CD75C00D2644C /* list.cpp in Sources */,
|
||||
@ -2370,7 +2377,6 @@
|
||||
9AF41631242CD75C00D2644C /* spd.cpp in Sources */,
|
||||
9AF41632242CD75C00D2644C /* printf_lite-test.cpp in Sources */,
|
||||
9AF41633242CD75C00D2644C /* kext_patcher.cpp in Sources */,
|
||||
9AF41634242CD75C00D2644C /* abort.cpp in Sources */,
|
||||
9AF41635242CD75C00D2644C /* gma.cpp in Sources */,
|
||||
9AF41636242CD75C00D2644C /* FloatLib.cpp in Sources */,
|
||||
9AF41637242CD75C00D2644C /* menu_items.cpp in Sources */,
|
||||
@ -2396,7 +2402,6 @@
|
||||
9AF4164A242CD75C00D2644C /* guid.cpp in Sources */,
|
||||
9A9AEB9A243F7B8400FBD7D8 /* unicode_conversions.cpp in Sources */,
|
||||
9AF4164B242CD75C00D2644C /* bootscreen.cpp in Sources */,
|
||||
9AF4164D242CD75C00D2644C /* strlen.cpp in Sources */,
|
||||
9AF4164E242CD75C00D2644C /* Console.cpp in Sources */,
|
||||
9AF41651242CD75C00D2644C /* StartupSound.cpp in Sources */,
|
||||
9AF41652242CD75C00D2644C /* globals_ctor.cpp in Sources */,
|
||||
@ -2414,7 +2419,6 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
9AF416C8242CDA5800D2644C /* Hibernate.cpp in Sources */,
|
||||
9AF416C9242CDA5800D2644C /* wchar.cpp in Sources */,
|
||||
9AF416CA242CDA5800D2644C /* DataHubCpu.cpp in Sources */,
|
||||
9AF416CB242CDA5800D2644C /* hda.cpp in Sources */,
|
||||
9AF416CC242CDA5800D2644C /* egemb_icons_dark.cpp in Sources */,
|
||||
@ -2424,7 +2428,6 @@
|
||||
9AF416D0242CDA5800D2644C /* HdaCodecDump.cpp in Sources */,
|
||||
9AF416D1242CDA5800D2644C /* Nvram.cpp in Sources */,
|
||||
9AF416D2242CDA5800D2644C /* BootOptions.cpp in Sources */,
|
||||
9AF416D3242CDA5800D2644C /* stdio.cpp in Sources */,
|
||||
9AF416D4242CDA5800D2644C /* operatorNewDelete.cpp in Sources */,
|
||||
9A105B1C244644C50006DE06 /* XCinema.cpp in Sources */,
|
||||
9AF416D5242CDA5800D2644C /* securehash.cpp in Sources */,
|
||||
@ -2446,7 +2449,6 @@
|
||||
9AF416E6242CDA5800D2644C /* XImage.cpp in Sources */,
|
||||
9AF416E7242CDA5800D2644C /* platformdata.cpp in Sources */,
|
||||
9A01499B244091B300B37399 /* printlib-test.cpp in Sources */,
|
||||
9AF416E8242CDA5800D2644C /* strcmp.cpp in Sources */,
|
||||
9AF416E9242CDA5800D2644C /* XPointer.cpp in Sources */,
|
||||
9AF416EA242CDA5800D2644C /* strncmp_test.cpp in Sources */,
|
||||
9AF416EB242CDA5800D2644C /* list.cpp in Sources */,
|
||||
@ -2487,7 +2489,6 @@
|
||||
9AF4170E242CDA5800D2644C /* spd.cpp in Sources */,
|
||||
9AF4170F242CDA5800D2644C /* printf_lite-test.cpp in Sources */,
|
||||
9AF41710242CDA5800D2644C /* kext_patcher.cpp in Sources */,
|
||||
9AF41711242CDA5800D2644C /* abort.cpp in Sources */,
|
||||
9AF41712242CDA5800D2644C /* gma.cpp in Sources */,
|
||||
9AF41713242CDA5800D2644C /* FloatLib.cpp in Sources */,
|
||||
9AF41714242CDA5800D2644C /* menu_items.cpp in Sources */,
|
||||
@ -2513,7 +2514,6 @@
|
||||
9AF41727242CDA5800D2644C /* guid.cpp in Sources */,
|
||||
9A9AEB9B243F7B8400FBD7D8 /* unicode_conversions.cpp in Sources */,
|
||||
9AF41728242CDA5800D2644C /* bootscreen.cpp in Sources */,
|
||||
9AF4172A242CDA5800D2644C /* strlen.cpp in Sources */,
|
||||
9AF4172B242CDA5800D2644C /* Console.cpp in Sources */,
|
||||
9AF4172E242CDA5800D2644C /* StartupSound.cpp in Sources */,
|
||||
9AF4172F242CDA5800D2644C /* globals_ctor.cpp in Sources */,
|
||||
|
85
rEFIt_UEFI/Platform/APFS.cpp
Normal file
85
rEFIt_UEFI/Platform/APFS.cpp
Normal file
@ -0,0 +1,85 @@
|
||||
/*
|
||||
* APFS.cpp
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#include "Platform.h"
|
||||
#include "guid.h"
|
||||
|
||||
|
||||
/* S. Mitrofanov 08.06.2016
|
||||
* APFS Container introduced new partitions structure
|
||||
* Now we have, for example:
|
||||
* /dev/disk0 (internal, physical):
|
||||
* #: TYPE NAME SIZE IDENTIFIER
|
||||
* 0: GUID_partition_scheme *240.1 GB disk0
|
||||
* 1: EFI EFI 209.7 MB disk0s1
|
||||
* 2: Apple_APFS Container disk1 239.2 GB disk0s2
|
||||
* 3: Apple_KernelCoreDump 655.4 MB disk0s3
|
||||
*
|
||||
* /dev/disk1 (synthesized):
|
||||
* #: TYPE NAME SIZE IDENTIFIER
|
||||
* 0: APFS Container Scheme - +239.2 GB disk1
|
||||
* Physical Store disk0s2
|
||||
* 1: APFS Volume Macintosh SSD 170.8 GB disk1s1
|
||||
* 2: APFS Volume Preboot 17.9 MB disk1s2
|
||||
* 3: APFS Volume Recovery 521.1 MB disk1s3
|
||||
* 4: APFS Volume VM 1.1 GB disk1s4
|
||||
*/
|
||||
UINTN APFSUUIDBankCounter = 0;
|
||||
UINT8 *APFSUUIDBank = NULL;
|
||||
//Vednor APFS device path signature
|
||||
//BE74FCF7-0B7C-49F3-9147-01F4042E6842
|
||||
EFI_GUID APFSSignature = {0xBE74FCF7, 0x0B7C, 0x49F3, { 0x91, 0x47, 0x01, 0xf4, 0x04, 0x2E, 0x68, 0x42 }};
|
||||
BOOLEAN APFSSupport = FALSE;
|
||||
|
||||
|
||||
|
||||
//Function for obtaining unique part id from APFS partition
|
||||
//IN DevicePath
|
||||
//Out: EFI_GUID
|
||||
//null if it is not APFS part
|
||||
EFI_GUID *APFSPartitionUUIDExtract(
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
|
||||
)
|
||||
{
|
||||
while (!IsDevicePathEndType(DevicePath) &&
|
||||
!(DevicePathType(DevicePath) == MEDIA_DEVICE_PATH && DevicePathSubType (DevicePath) == MEDIA_VENDOR_DP)) {
|
||||
DevicePath = NextDevicePathNode(DevicePath);
|
||||
}
|
||||
if (DevicePathType(DevicePath) == MEDIA_DEVICE_PATH && DevicePathSubType (DevicePath) == MEDIA_VENDOR_DP) {
|
||||
//Check that vendor-assigned GUID defines APFS Container Partition
|
||||
if (StriCmp(GuidLEToStr((EFI_GUID *)((UINT8 *)DevicePath+0x04)),GuidLEToStr(&APFSSignature)) == 0 ) {
|
||||
return (EFI_GUID *)((UINT8 *)DevicePath+0x14);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
UINT8 *APFSContainer_Support(VOID) {
|
||||
/*
|
||||
* S. Mtr 2017
|
||||
* APFS Container partition support
|
||||
* Gather System PartitionUniqueGUID
|
||||
* edit: 17.06.2017
|
||||
* Fiil UUIDBank only with APFS container UUIDs
|
||||
*/
|
||||
UINTN VolumeIndex;
|
||||
REFIT_VOLUME *Volume;
|
||||
EFI_GUID *TmpUUID = NULL;
|
||||
|
||||
//Fill APFSUUIDBank
|
||||
APFSUUIDBank = (__typeof__(APFSUUIDBank))AllocateZeroPool(0x10*Volumes.size());
|
||||
for (VolumeIndex = 0; VolumeIndex < Volumes.size(); VolumeIndex++) {
|
||||
Volume = &Volumes[VolumeIndex];
|
||||
//Check that current volume - apfs partition
|
||||
if ((TmpUUID = APFSPartitionUUIDExtract(Volume->DevicePath)) != NULL){
|
||||
CopyMem(APFSUUIDBank+APFSUUIDBankCounter*0x10,(UINT8 *)TmpUUID,0x10);
|
||||
APFSUUIDBankCounter++;
|
||||
}
|
||||
}
|
||||
return APFSUUIDBank;
|
||||
}
|
||||
|
30
rEFIt_UEFI/Platform/APFS.h
Normal file
30
rEFIt_UEFI/Platform/APFS.h
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* APFS.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_APFS_H_
|
||||
#define PLATFORM_APFS_H_
|
||||
|
||||
/* Switch for APFS support */
|
||||
extern UINTN APFSUUIDBankCounter;
|
||||
extern UINT8 *APFSUUIDBank;
|
||||
extern EFI_GUID APFSSignature;
|
||||
extern BOOLEAN APFSSupport;
|
||||
|
||||
|
||||
UINT8 *APFSContainer_Support(VOID);
|
||||
|
||||
//Function for obtaining unique part id from APFS partition
|
||||
//IN DevicePath
|
||||
//Out: EFI_GUID
|
||||
//null if it is not APFS part
|
||||
EFI_GUID *APFSPartitionUUIDExtract(
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_APFS_H_ */
|
@ -19,6 +19,11 @@
|
||||
|
||||
#include "StateGenerator.h"
|
||||
#include "AmlGenerator.h"
|
||||
#include "AcpiPatcher.h"
|
||||
#include "FixBiosDsdt.h"
|
||||
#include "platformdata.h"
|
||||
#include "smbios.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#define HPET_SIGN SIGNATURE_32('H','P','E','T')
|
||||
#define APIC_SIGN SIGNATURE_32('A','P','I','C')
|
||||
|
54
rEFIt_UEFI/Platform/AcpiPatcher.h
Normal file
54
rEFIt_UEFI/Platform/AcpiPatcher.h
Normal file
@ -0,0 +1,54 @@
|
||||
/*
|
||||
* AcpiPatcher.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_ACPIPATCHER_H_
|
||||
#define PLATFORM_ACPIPATCHER_H_
|
||||
|
||||
extern UINT64 BiosDsdt;
|
||||
extern UINT32 BiosDsdtLen;
|
||||
#define acpi_cpu_max 128
|
||||
extern UINT8 acpi_cpu_count;
|
||||
extern CHAR8 *acpi_cpu_name[];
|
||||
extern UINT8 acpi_cpu_processor_id[];
|
||||
extern CHAR8 *acpi_cpu_score;
|
||||
|
||||
extern UINT64 machineSignature;
|
||||
|
||||
|
||||
//ACPI
|
||||
EFI_STATUS
|
||||
PatchACPI(IN REFIT_VOLUME *Volume, CHAR8 *OSVersion);
|
||||
|
||||
EFI_STATUS
|
||||
PatchACPI_OtherOS(CONST CHAR16* OsSubdir, BOOLEAN DropSSDT);
|
||||
|
||||
UINT8
|
||||
Checksum8 (
|
||||
VOID *startPtr,
|
||||
UINT32 len
|
||||
);
|
||||
|
||||
void FixChecksum(EFI_ACPI_DESCRIPTION_HEADER* Table);
|
||||
|
||||
|
||||
VOID
|
||||
SaveOemDsdt (
|
||||
BOOLEAN FullPatch
|
||||
);
|
||||
|
||||
VOID
|
||||
SaveOemTables (VOID);
|
||||
|
||||
EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE
|
||||
*GetFadt (VOID);
|
||||
|
||||
|
||||
VOID
|
||||
GetAcpiTablesList (VOID);
|
||||
|
||||
|
||||
#endif /* PLATFORM_ACPIPATCHER_H_ */
|
@ -9,8 +9,8 @@
|
||||
|
||||
|
||||
#include "Platform.h"
|
||||
#include <Library/MemLogLib.h>
|
||||
|
||||
//#include <Library/MemLogLib.h>
|
||||
#include "DataHubCpu.h"
|
||||
|
||||
extern EFI_GUID gEfiMiscSubClassGuid;
|
||||
|
||||
|
@ -41,4 +41,11 @@ DebugLog (
|
||||
IN CONST CHAR8 *FormatString, ...) __attribute__((format(printf, 2, 3)));
|
||||
|
||||
|
||||
/** Prints series of bytes. */
|
||||
VOID
|
||||
PrintBytes (
|
||||
IN VOID *Bytes,
|
||||
IN UINTN Number
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "BasicIO.h"
|
||||
#include "Nvram.h"
|
||||
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
|
111
rEFIt_UEFI/Platform/BootOptions.h
Normal file
111
rEFIt_UEFI/Platform/BootOptions.h
Normal file
@ -0,0 +1,111 @@
|
||||
/*
|
||||
* BootOptions.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_BOOTOPTIONS_H_
|
||||
#define PLATFORM_BOOTOPTIONS_H_
|
||||
|
||||
|
||||
|
||||
/** Finds and returns pointer to specified DevPath node in DevicePath or NULL. */
|
||||
EFI_DEVICE_PATH_PROTOCOL *
|
||||
FindDevicePathNodeWithType (
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath,
|
||||
IN UINT8 Type,
|
||||
IN UINT8 SubType OPTIONAL
|
||||
);
|
||||
|
||||
//Parses BootXXXX (XXXX = BootNum) var (from BootOption->Variable) and returns it in BootOption.
|
||||
EFI_STATUS
|
||||
ParseBootOption (OUT BO_BOOT_OPTION *BootOption);
|
||||
|
||||
/** Prints BootXXXX vars found listed in BootOrder, plus print others if AllBootOptions == TRUE. */
|
||||
VOID
|
||||
PrintBootOptions (
|
||||
IN BOOLEAN AllBootOptions
|
||||
);
|
||||
|
||||
/** Prints BootOrder with DBG. */
|
||||
VOID
|
||||
PrintBootOrder (
|
||||
IN UINT16 BootOrder[],
|
||||
IN UINTN BootOrderLen
|
||||
);
|
||||
|
||||
/** Reads BootXXXX (XXXX = BootNum) var, parses it and returns in BootOption.
|
||||
* Caller is responsible for releasing BootOption->Variable with FreePool().
|
||||
*/
|
||||
EFI_STATUS
|
||||
GetBootOption (
|
||||
IN UINT16 BootNum,
|
||||
OUT BO_BOOT_OPTION *BootOption
|
||||
);
|
||||
|
||||
/** Returns gEfiGlobalVariableGuid:BootOrder as UINT16 array and it's length (num of elements).
|
||||
* Caller is responsible for releasing BootOrder mem (FreePool()).
|
||||
*/
|
||||
EFI_STATUS
|
||||
GetBootOrder (
|
||||
OUT UINT16 *BootOrder[],
|
||||
OUT UINTN *BootOrderLen
|
||||
);
|
||||
|
||||
/** Searches BootXXXX vars for entry that points to given FileDeviceHandle/FileName
|
||||
* and returns BootNum (XXXX in BootXXXX variable name) and BootIndex (index in BootOrder)
|
||||
* if found.
|
||||
*/
|
||||
EFI_STATUS
|
||||
FindBootOptionForFile (
|
||||
IN EFI_HANDLE FileDeviceHandle,
|
||||
IN CHAR16 *FileName,
|
||||
OUT UINT16 *BootNum,
|
||||
OUT UINTN *BootIndex
|
||||
);
|
||||
|
||||
/** Adds new boot option for given file system device handle FileDeviceHandle, file path FileName
|
||||
* and Description, to be BootIndex in the list of options (0 based).
|
||||
* If UseShortForm == TRUE, then only the hard drive media dev path will be used instead
|
||||
* of full device path.
|
||||
* Long (full) form:
|
||||
* PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x1,0x0)/HD(1,GPT,96004846-a018-49ad-bc9f-4e5a340adc4b,0x800,0x64000)/\EFI\BOOT\File.efi
|
||||
* Short form:
|
||||
* HD(1,GPT,96004846-a018-49ad-bc9f-4e5a340adc4b,0x800,0x64000)/\EFI\BOOT\File.efi
|
||||
*/
|
||||
EFI_STATUS
|
||||
AddBootOptionForFile (
|
||||
IN EFI_HANDLE FileDeviceHandle,
|
||||
IN CONST CHAR16 *FileName,
|
||||
IN BOOLEAN UseShortForm,
|
||||
IN CONST CHAR16 *Description,
|
||||
IN UINT8 *OptionalData,
|
||||
IN UINTN OptionalDataSize,
|
||||
IN UINTN BootIndex,
|
||||
OUT UINT16 *BootNum
|
||||
);
|
||||
|
||||
/** Deletes boot option specified with BootNum (XXXX in BootXXXX var name). */
|
||||
EFI_STATUS
|
||||
DeleteBootOption (
|
||||
IN UINT16 BootNum
|
||||
);
|
||||
|
||||
|
||||
/** Deletes boot option for file specified with FileDeviceHandle and FileName. */
|
||||
EFI_STATUS
|
||||
DeleteBootOptionForFile (
|
||||
IN EFI_HANDLE FileDeviceHandle,
|
||||
IN CONST CHAR16 *FileName
|
||||
);
|
||||
|
||||
/** Deletes all boot option that points to a file which contains FileName in it's path. */
|
||||
EFI_STATUS
|
||||
DeleteBootOptionsContainingFile (
|
||||
IN CHAR16 *FileName
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_BOOTOPTIONS_H_ */
|
18
rEFIt_UEFI/Platform/Console.h
Normal file
18
rEFIt_UEFI/Platform/Console.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Console.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_CONSOLE_H_
|
||||
#define PLATFORM_CONSOLE_H_
|
||||
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
InitializeConsoleSim (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_CONSOLE_H_ */
|
@ -38,7 +38,11 @@
|
||||
|
||||
|
||||
#include "Platform.h"
|
||||
//#include "Version.h"
|
||||
#include "Nvram.h"
|
||||
#include "platformdata.h"
|
||||
#include "smbios.h"
|
||||
#include "cpu.h"
|
||||
|
||||
|
||||
#include <Guid/DataHubRecords.h>
|
||||
|
||||
|
@ -1,4 +1,30 @@
|
||||
/*
|
||||
* Nvram.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_DATAHUBCPU_H_
|
||||
#define PLATFORM_DATAHUBCPU_H_
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
SetVariablesForOSX (LOADER_ENTRY *Entry);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
LogDataHub (
|
||||
EFI_GUID *TypeGuid,
|
||||
CONST CHAR16 *Name,
|
||||
VOID *Data,
|
||||
UINT32 DataSize
|
||||
);
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
SetupDataForOSX (BOOLEAN Hibernate);
|
||||
|
||||
|
||||
#endif /* PLATFORM_DATAHUBCPU_H_ */
|
||||
|
@ -1,6 +1,7 @@
|
||||
//Slice 2013
|
||||
|
||||
#include "Platform.h"
|
||||
#include "AcpiPatcher.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_EDID 1
|
||||
|
24
rEFIt_UEFI/Platform/Edid.h
Normal file
24
rEFIt_UEFI/Platform/Edid.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Edid.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_EDID_H_
|
||||
#define PLATFORM_EDID_H_
|
||||
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
InitializeEdidOverride (VOID);
|
||||
|
||||
UINT8*
|
||||
getCurrentEdid (VOID);
|
||||
|
||||
EFI_STATUS
|
||||
GetEdidDiscovered (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_EDID_H_ */
|
@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include "../entry_scan/entry_scan.h"
|
||||
//#include "device_tree.h"
|
||||
#include "kernel_patcher.h"
|
||||
#include "usbfix.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define PATCH_DEBUG 0
|
||||
|
@ -1,5 +1,33 @@
|
||||
/*
|
||||
* Console.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_EVENTS_H_
|
||||
#define PLATFORM_EVENTS_H_
|
||||
|
||||
extern EFI_EVENT mVirtualAddressChangeEvent;
|
||||
extern EFI_EVENT OnReadyToBootEvent;
|
||||
extern EFI_EVENT ExitBootServiceEvent;
|
||||
extern EFI_EVENT mSimpleFileSystemChangeEvent;
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
EventsInitialize (
|
||||
IN LOADER_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
GuiEventsInitialize (VOID);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
EjectVolume (
|
||||
IN REFIT_VOLUME *Volume
|
||||
);
|
||||
|
||||
|
||||
#endif /* PLATFORM_EVENTS_H_ */
|
||||
|
@ -7,6 +7,9 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "StateGenerator.h"
|
||||
#include "AcpiPatcher.h"
|
||||
#include "cpu.h"
|
||||
|
||||
extern "C" {
|
||||
#include <IndustryStandard/PciCommand.h>
|
||||
}
|
||||
@ -5633,7 +5636,6 @@ VOID FixBiosDsdt (UINT8* temp, EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE* fadt,
|
||||
temp[7] = (UINT8)((DsdtLen & 0xFF000000) >> 24);
|
||||
|
||||
CopyMem((UINT8*)((EFI_ACPI_DESCRIPTION_HEADER*)temp)->OemId, (UINT8*)BiosVendor, 6);
|
||||
//DBG("orgBiosDsdtLen = 0x%08X\n", orgBiosDsdtLen);
|
||||
((EFI_ACPI_DESCRIPTION_HEADER*)temp)->Checksum = 0;
|
||||
((EFI_ACPI_DESCRIPTION_HEADER*)temp)->Checksum = (UINT8)(256-Checksum8(temp, DsdtLen));
|
||||
*/
|
||||
|
49
rEFIt_UEFI/Platform/FixBiosDsdt.h
Normal file
49
rEFIt_UEFI/Platform/FixBiosDsdt.h
Normal file
@ -0,0 +1,49 @@
|
||||
/*
|
||||
* FixBiosDsdt.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_FIXBIOSDSDT_H_
|
||||
#define PLATFORM_FIXBIOSDSDT_H_
|
||||
|
||||
|
||||
VOID
|
||||
FixBiosDsdt (
|
||||
UINT8 *Dsdt,
|
||||
EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE *fadt,
|
||||
CHAR8 *OSVersion
|
||||
);
|
||||
|
||||
|
||||
VOID
|
||||
RenameDevices(UINT8* table);
|
||||
|
||||
VOID
|
||||
GetBiosRegions (
|
||||
UINT8 *buffer
|
||||
);
|
||||
|
||||
INT32
|
||||
FindBin (
|
||||
UINT8 *Array,
|
||||
UINT32 ArrayLen,
|
||||
UINT8 *Pattern,
|
||||
UINT32 PatternLen
|
||||
);
|
||||
|
||||
|
||||
UINT32
|
||||
FixAny (
|
||||
UINT8* dsdt,
|
||||
UINT32 len,
|
||||
UINT8* ToFind,
|
||||
UINT32 LenTF,
|
||||
UINT8* ToReplace,
|
||||
UINT32 LenTR
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_FIXBIOSDSDT_H_ */
|
@ -9,7 +9,11 @@
|
||||
|
||||
|
||||
#include <Platform.h>
|
||||
|
||||
#include "AcpiPatcher.h"
|
||||
#include "guid.h"
|
||||
#include "APFS.h"
|
||||
#include "Nvram.h"
|
||||
#include "BootOptions.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_HIB 1
|
||||
|
@ -1,7 +1,13 @@
|
||||
/*
|
||||
* Nvram.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_HIBERNATE_H_
|
||||
#define PLATFORM_HIBERNATE_H_
|
||||
|
||||
//
|
||||
// Hibernate.c
|
||||
//
|
||||
/** Returns TRUE if given macOS on given volume is hibernated
|
||||
* (/private/var/vm/sleepimage exists and it's modification time is close to volume modification time).
|
||||
*/
|
||||
@ -9,3 +15,13 @@ BOOLEAN
|
||||
IsOsxHibernated (
|
||||
IN LOADER_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/** Prepares nvram vars needed for boot.efi to wake from hibernation. */
|
||||
BOOLEAN
|
||||
PrepareHibernation (
|
||||
IN REFIT_VOLUME *Volume
|
||||
);
|
||||
|
||||
|
||||
#endif /* PLATFORM_HIBERNATE_H_ */
|
||||
|
25
rEFIt_UEFI/Platform/Injectors.h
Normal file
25
rEFIt_UEFI/Platform/Injectors.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Injectors.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_INJECTORS_H_
|
||||
#define PLATFORM_INJECTORS_H_
|
||||
|
||||
extern UINT32 mPropSize;
|
||||
extern UINT8 *mProperties;
|
||||
extern CHAR8 *gDeviceProperties;
|
||||
extern UINT32 cPropSize;
|
||||
extern UINT8 *cProperties;
|
||||
extern CHAR8 *cDeviceProperties;
|
||||
extern CHAR8 *BootOSName;
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
SetPrivateVarProto (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_INJECTORS_H_ */
|
@ -12,7 +12,9 @@ Copyright (c) 2006 JLA
|
||||
*/
|
||||
#include "Platform.h"
|
||||
#include "LegacyBiosThunk.h"
|
||||
#include <Protocol/Bds.h>
|
||||
//#include <Protocol/Bds.h>
|
||||
#include "AcpiPatcher.h"
|
||||
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_LBOOT 1
|
||||
|
43
rEFIt_UEFI/Platform/LegacyBoot.h
Normal file
43
rEFIt_UEFI/Platform/LegacyBoot.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* LegacyBoot.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_LEGACYBOOT_H_
|
||||
#define PLATFORM_LEGACYBOOT_H_
|
||||
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
bootElTorito (
|
||||
IN REFIT_VOLUME *volume
|
||||
);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
bootMBR (
|
||||
IN REFIT_VOLUME *volume
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
bootPBR (
|
||||
IN REFIT_VOLUME *volume, BOOLEAN SataReset
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
bootPBRtest (
|
||||
IN REFIT_VOLUME *volume
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
bootLegacyBiosDefault (
|
||||
IN UINT16 LegacyBiosDefaultEntry
|
||||
);
|
||||
|
||||
VOID
|
||||
DumpBiosMemoryMap (VOID);
|
||||
|
||||
|
||||
#endif /* PLATFORM_LEGACYBOOT_H_ */
|
18
rEFIt_UEFI/Platform/Net.h
Normal file
18
rEFIt_UEFI/Platform/Net.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Net.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_NET_H_
|
||||
#define PLATFORM_NET_H_
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
GetMacAddress(VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_NET_H_ */
|
@ -6,6 +6,8 @@
|
||||
*/
|
||||
|
||||
#include "Platform.h"
|
||||
#include "Nvram.h"
|
||||
#include "BootOptions.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_SET 1
|
||||
@ -1418,3 +1420,28 @@ RemoveStartupDiskVolume ()
|
||||
// DBG (" * BootCampHD = %s\n", strerror(Status));
|
||||
// DBG ("Removed efi-boot-device-data variable: %s\n", strerror(Status));
|
||||
}
|
||||
|
||||
|
||||
VOID ResetNvram ()
|
||||
{
|
||||
if (gFirmwareClover || gDriversFlags.EmuVariableLoaded) {
|
||||
if (gEmuVariableControl != NULL) {
|
||||
gEmuVariableControl->InstallEmulation(gEmuVariableControl);
|
||||
}
|
||||
}
|
||||
|
||||
ResetNativeNvram ();
|
||||
|
||||
if (gFirmwareClover || gDriversFlags.EmuVariableLoaded) {
|
||||
if (gEmuVariableControl != NULL) {
|
||||
gEmuVariableControl->UninstallEmulation(gEmuVariableControl);
|
||||
}
|
||||
}
|
||||
|
||||
// Attempt warm reboot
|
||||
// gRT->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, NULL);
|
||||
// Warm reboot may not be supported attempt cold reboot
|
||||
// gRT->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);
|
||||
// Terminate the screen and just exit
|
||||
// TerminateScreen();
|
||||
}
|
||||
|
@ -1,5 +1,94 @@
|
||||
/*
|
||||
* Nvram.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_NVRAM_H_
|
||||
#define PLATFORM_NVRAM_H_
|
||||
|
||||
extern EFI_GUID *gEfiBootDeviceGuid;
|
||||
extern EFI_DEVICE_PATH_PROTOCOL *gEfiBootDeviceData;
|
||||
|
||||
|
||||
|
||||
|
||||
INTN
|
||||
FindStartupDiskVolume (
|
||||
REFIT_MENU_SCREEN *MainMenu
|
||||
);
|
||||
|
||||
VOID
|
||||
*GetNvramVariable (
|
||||
IN CONST CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid,
|
||||
OUT UINT32 *Attributes OPTIONAL,
|
||||
OUT UINTN *DataSize OPTIONAL
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
AddNvramVariable (
|
||||
IN CONST CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid,
|
||||
IN UINT32 Attributes,
|
||||
IN UINTN DataSize,
|
||||
IN VOID *Data
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
SetNvramVariable (
|
||||
IN CONST CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid,
|
||||
IN UINT32 Attributes,
|
||||
IN UINTN DataSize,
|
||||
IN CONST VOID *Data
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
DeleteNvramVariable (
|
||||
IN CONST CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid
|
||||
);
|
||||
|
||||
VOID
|
||||
ResetNvram (VOID);
|
||||
|
||||
BOOLEAN
|
||||
IsDeletableVariable (
|
||||
IN CHAR16 *Name,
|
||||
IN EFI_GUID *Guid
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
ResetNativeNvram (VOID);
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
GetEfiBootDeviceFromNvram (VOID);
|
||||
|
||||
EFI_GUID
|
||||
*FindGPTPartitionGuidInDevicePath (
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
|
||||
);
|
||||
|
||||
VOID
|
||||
PutNvramPlistToRtVars (VOID);
|
||||
|
||||
VOID
|
||||
GetSmcKeys(BOOLEAN WriteToSMC);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
SetStartupDiskVolume (
|
||||
IN REFIT_VOLUME *Volume,
|
||||
IN CONST CHAR16 *LoaderPath
|
||||
);
|
||||
|
||||
VOID
|
||||
RemoveStartupDiskVolume (VOID);
|
||||
|
||||
UINT64
|
||||
GetEfiTimeInMs (IN EFI_TIME *T);
|
||||
|
||||
#endif /* PLATFORM_NVRAM_H_ */
|
||||
|
File diff suppressed because it is too large
Load Diff
23
rEFIt_UEFI/Platform/PlatformDriverOverride.h
Normal file
23
rEFIt_UEFI/Platform/PlatformDriverOverride.h
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* PlatformDriverOverride.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_PLATFORMDRIVEROVERRIDE_H_
|
||||
#define PLATFORM_PLATFORMDRIVEROVERRIDE_H_
|
||||
|
||||
|
||||
/** Registers given PriorityDrivers (NULL terminated) to highest priority during connecting controllers.
|
||||
* Does this by installing our EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL
|
||||
* or by overriding existing EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL.GetDriver.
|
||||
*/
|
||||
VOID
|
||||
RegisterDriversToHighestPriority (
|
||||
IN EFI_HANDLE *PriorityDrivers
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_PLATFORMDRIVEROVERRIDE_H_ */
|
@ -12,6 +12,18 @@
|
||||
#include "../refit/menu.h"
|
||||
#include "gma.h"
|
||||
#include "../libeg/VectorGraphics.h"
|
||||
#include "Nvram.h"
|
||||
#include "BootOptions.h"
|
||||
#include "StartupSound.h"
|
||||
#include "Edid.h"
|
||||
#include "platformdata.h"
|
||||
#include "smbios.h"
|
||||
#include "guid.h"
|
||||
#include "card_vlist.h"
|
||||
#include "Injectors.h"
|
||||
#include "cpu.h"
|
||||
#include "APFS.h"
|
||||
#include "hda.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_SET 1
|
||||
@ -102,6 +114,21 @@ BOOLEAN SetTable132 = FALSE;
|
||||
const INTN BCSMargin = 11;
|
||||
BOOLEAN DayLight;
|
||||
|
||||
//
|
||||
DRIVERS_FLAGS gDriversFlags; //the initializer is not needed for global variables
|
||||
|
||||
#ifdef FIRMWARE_REVISION
|
||||
//CONST CHAR16 gFirmwareRevisionM[] = FIRMWARE_REVISION;
|
||||
//CONST CHAR16 *gFirmwareRevision = &gFirmwareRevisionM[0];
|
||||
CONST CHAR16 *gFirmwareRevision = FIRMWARE_REVISION;
|
||||
|
||||
#else
|
||||
CONST CHAR16 *gFirmwareRevision = NULL;
|
||||
#endif
|
||||
|
||||
EFI_GUID gUuid;
|
||||
|
||||
EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl = NULL;
|
||||
|
||||
|
||||
extern MEM_STRUCTURE gRAM;
|
||||
@ -245,70 +272,6 @@ GetCrc32 (
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
return TRUE if the property present && value = TRUE
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyTrue (
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
return Prop != NULL &&
|
||||
((Prop->type == kTagTypeTrue) ||
|
||||
((Prop->type == kTagTypeString) && Prop->string &&
|
||||
((Prop->string[0] == 'y') || (Prop->string[0] == 'Y'))));
|
||||
}
|
||||
|
||||
/*
|
||||
return TRUE if the property present && value = FALSE
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyFalse (
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
return Prop != NULL &&
|
||||
((Prop->type == kTagTypeFalse) ||
|
||||
((Prop->type == kTagTypeString) && Prop->string &&
|
||||
((Prop->string[0] == 'N') || (Prop->string[0] == 'n'))));
|
||||
}
|
||||
|
||||
/*
|
||||
Possible values
|
||||
<integer>1234</integer>
|
||||
<integer>+1234</integer>
|
||||
<integer>-1234</integer>
|
||||
<string>0x12abd</string>
|
||||
*/
|
||||
INTN
|
||||
GetPropertyInteger (
|
||||
TagPtr Prop,
|
||||
INTN Default
|
||||
)
|
||||
{
|
||||
if (Prop == NULL) {
|
||||
return Default;
|
||||
}
|
||||
|
||||
if (Prop->type == kTagTypeInteger) {
|
||||
return (INTN)Prop->string; //this is union char* or size_t
|
||||
} else if ((Prop->type == kTagTypeString) && Prop->string) {
|
||||
if ((Prop->string[1] == 'x') || (Prop->string[1] == 'X')) {
|
||||
return (INTN)AsciiStrHexToUintn (Prop->string);
|
||||
}
|
||||
|
||||
if (Prop->string[0] == '-') {
|
||||
return -(INTN)AsciiStrDecimalToUintn (Prop->string + 1);
|
||||
}
|
||||
|
||||
// return (INTN)AsciiStrDecimalToUintn (Prop->string);
|
||||
return (INTN)AsciiStrDecimalToUintn((Prop->string[0] == '+') ? (Prop->string + 1) : Prop->string);
|
||||
}
|
||||
return Default;
|
||||
}
|
||||
|
||||
ACPI_NAME_LIST *
|
||||
ParseACPIName(CHAR8 *String)
|
||||
{
|
||||
|
@ -1,6 +1,585 @@
|
||||
#ifndef __SETTINGS_H__
|
||||
#define __SETTINGS_H__
|
||||
|
||||
typedef struct {
|
||||
CHAR16 *Name;
|
||||
// CHAR8 *LineName;
|
||||
INTN Index;
|
||||
EFI_HANDLE Handle;
|
||||
EFI_AUDIO_IO_PROTOCOL_DEVICE Device;
|
||||
} HDA_OUTPUTS;
|
||||
|
||||
typedef enum {
|
||||
Unknown,
|
||||
Ati, /* 0x1002 */
|
||||
Intel, /* 0x8086 */
|
||||
Nvidia, /* 0x10de */
|
||||
RDC, /* 0x17f3 */
|
||||
VIA, /* 0x1106 */
|
||||
SiS, /* 0x1039 */
|
||||
ULI /* 0x10b9 */
|
||||
} HRDW_MANUFACTERER;
|
||||
|
||||
typedef struct {
|
||||
HRDW_MANUFACTERER Vendor;
|
||||
UINT8 Ports;
|
||||
UINT16 DeviceID;
|
||||
UINT16 Family;
|
||||
//UINT16 Width;
|
||||
//UINT16 Height;
|
||||
CHAR8 Model[64];
|
||||
CHAR8 Config[64];
|
||||
BOOLEAN LoadVBios;
|
||||
//BOOLEAN PatchVBios;
|
||||
UINTN Segment;
|
||||
UINTN Bus;
|
||||
UINTN Device;
|
||||
UINTN Function;
|
||||
EFI_HANDLE Handle;
|
||||
UINT8 *Mmio;
|
||||
UINT32 Connectors;
|
||||
BOOLEAN ConnChanged;
|
||||
} GFX_PROPERTIES;
|
||||
|
||||
typedef struct {
|
||||
HRDW_MANUFACTERER Vendor;
|
||||
UINT16 controller_vendor_id;
|
||||
UINT16 controller_device_id;
|
||||
CHAR16 *controller_name;
|
||||
// -- Codec Info -- //
|
||||
UINT16 codec_vendor_id;
|
||||
UINT16 codec_device_id;
|
||||
UINT8 codec_revision_id;
|
||||
UINT8 codec_stepping_id;
|
||||
UINT8 codec_maj_rev;
|
||||
UINT8 codec_min_rev;
|
||||
UINT8 codec_num_function_groups;
|
||||
CHAR16 *codec_name;
|
||||
} HDA_PROPERTIES;
|
||||
|
||||
typedef struct ACPI_NAME_LIST ACPI_NAME_LIST;
|
||||
struct ACPI_NAME_LIST {
|
||||
ACPI_NAME_LIST *Next;
|
||||
CHAR8 *Name;
|
||||
};
|
||||
|
||||
typedef struct ACPI_DROP_TABLE ACPI_DROP_TABLE;
|
||||
struct ACPI_DROP_TABLE
|
||||
{
|
||||
ACPI_DROP_TABLE *Next;
|
||||
UINT32 Signature;
|
||||
UINT32 Length;
|
||||
UINT64 TableId;
|
||||
INPUT_ITEM MenuItem;
|
||||
};
|
||||
|
||||
typedef struct CUSTOM_LOADER_ENTRY CUSTOM_LOADER_ENTRY;
|
||||
struct CUSTOM_LOADER_ENTRY {
|
||||
CUSTOM_LOADER_ENTRY *Next;
|
||||
CUSTOM_LOADER_ENTRY *SubEntries;
|
||||
XImage Image;
|
||||
XImage DriveImage;
|
||||
CONST CHAR16 *ImagePath;
|
||||
CONST CHAR16 *DriveImagePath;
|
||||
CONST CHAR16 *Volume;
|
||||
CONST CHAR16 *Path;
|
||||
XString Options;
|
||||
|
||||
XStringW FullTitle;
|
||||
XStringW Title;
|
||||
CONST CHAR16 *Settings;
|
||||
CHAR16 Hotkey;
|
||||
BOOLEAN CommonSettings;
|
||||
UINT8 Flags;
|
||||
UINT8 Type;
|
||||
UINT8 VolumeType;
|
||||
UINT8 KernelScan;
|
||||
UINT8 CustomBoot;
|
||||
XImage CustomLogo;
|
||||
EFI_GRAPHICS_OUTPUT_BLT_PIXEL BootBgColor;
|
||||
KERNEL_AND_KEXT_PATCHES KernelAndKextPatches;
|
||||
|
||||
CUSTOM_LOADER_ENTRY() : Next(0), SubEntries(0), ImagePath(0), DriveImagePath(0), Volume(0), Path(0), Settings(0), Hotkey(0), CommonSettings(0), Flags(0), Type(0), VolumeType(0),
|
||||
KernelScan(0), CustomBoot(0), BootBgColor({0,0,0,0})
|
||||
{ memset(&KernelAndKextPatches, 0, sizeof(KernelAndKextPatches)); }
|
||||
|
||||
// Not sure if default are valid. Delete them. If needed, proper ones can be created
|
||||
CUSTOM_LOADER_ENTRY(const CUSTOM_LOADER_ENTRY&) = delete;
|
||||
CUSTOM_LOADER_ENTRY& operator=(const CUSTOM_LOADER_ENTRY&) = delete;
|
||||
|
||||
};
|
||||
|
||||
typedef struct CUSTOM_LEGACY_ENTRY CUSTOM_LEGACY_ENTRY;
|
||||
struct CUSTOM_LEGACY_ENTRY {
|
||||
CUSTOM_LEGACY_ENTRY *Next;
|
||||
XImage Image;
|
||||
XImage DriveImage;
|
||||
CONST CHAR16 *ImagePath;
|
||||
CONST CHAR16 *DriveImagePath;
|
||||
CONST CHAR16 *Volume;
|
||||
XStringW FullTitle;
|
||||
XStringW Title;
|
||||
CHAR16 Hotkey;
|
||||
UINT8 Flags;
|
||||
UINT8 Type;
|
||||
UINT8 VolumeType;
|
||||
};
|
||||
|
||||
typedef struct CUSTOM_TOOL_ENTRY CUSTOM_TOOL_ENTRY;
|
||||
struct CUSTOM_TOOL_ENTRY {
|
||||
CUSTOM_TOOL_ENTRY *Next;
|
||||
XImage Image;
|
||||
CHAR16 *ImagePath;
|
||||
CHAR16 *Volume;
|
||||
CHAR16 *Path;
|
||||
XString Options;
|
||||
XStringW FullTitle;
|
||||
XStringW Title;
|
||||
CHAR16 Hotkey;
|
||||
UINT8 Flags;
|
||||
UINT8 VolumeType;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
kTagTypeNone,
|
||||
kTagTypeDict,
|
||||
kTagTypeKey,
|
||||
kTagTypeString,
|
||||
kTagTypeInteger,
|
||||
kTagTypeData,
|
||||
kTagTypeDate,
|
||||
kTagTypeFalse,
|
||||
kTagTypeTrue,
|
||||
kTagTypeArray
|
||||
} TAG_TYPE;
|
||||
|
||||
typedef struct DEV_PROPERTY DEV_PROPERTY; //yyyy
|
||||
struct DEV_PROPERTY {
|
||||
UINT32 Device;
|
||||
EFI_DEVICE_PATH_PROTOCOL* DevicePath;
|
||||
CHAR8 *Key;
|
||||
UINT8 *Value;
|
||||
UINTN ValueLen;
|
||||
DEV_PROPERTY *Next; //next device or next property
|
||||
DEV_PROPERTY *Child; // property list of the device
|
||||
CHAR8 *Label;
|
||||
INPUT_ITEM MenuItem;
|
||||
TAG_TYPE ValueType;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
||||
// SMBIOS TYPE0
|
||||
CHAR8 VendorName[64];
|
||||
CHAR8 RomVersion[64];
|
||||
CHAR8 EfiVersion[64];
|
||||
CHAR8 ReleaseDate[64];
|
||||
// SMBIOS TYPE1
|
||||
CHAR8 ManufactureName[64];
|
||||
CHAR8 ProductName[64];
|
||||
CHAR8 VersionNr[64];
|
||||
CHAR8 SerialNr[64];
|
||||
EFI_GUID SmUUID;
|
||||
BOOLEAN SmUUIDConfig;
|
||||
CHAR8 pad0[7];
|
||||
//CHAR8 Uuid[64];
|
||||
//CHAR8 SKUNumber[64];
|
||||
CHAR8 FamilyName[64];
|
||||
CHAR8 OEMProduct[64];
|
||||
CHAR8 OEMVendor[64];
|
||||
// SMBIOS TYPE2
|
||||
CHAR8 BoardManufactureName[64];
|
||||
CHAR8 BoardSerialNumber[64];
|
||||
CHAR8 BoardNumber[64]; //Board-ID
|
||||
CHAR8 LocationInChassis[64];
|
||||
CHAR8 BoardVersion[64];
|
||||
CHAR8 OEMBoard[64];
|
||||
UINT8 BoardType;
|
||||
UINT8 Pad1;
|
||||
// SMBIOS TYPE3
|
||||
BOOLEAN Mobile;
|
||||
UINT8 ChassisType;
|
||||
CHAR8 ChassisManufacturer[64];
|
||||
CHAR8 ChassisAssetTag[64];
|
||||
// SMBIOS TYPE4
|
||||
UINT32 CpuFreqMHz;
|
||||
UINT32 BusSpeed; //in kHz
|
||||
BOOLEAN Turbo;
|
||||
UINT8 EnabledCores;
|
||||
BOOLEAN UserChange;
|
||||
BOOLEAN QEMU;
|
||||
// SMBIOS TYPE17
|
||||
UINT16 SmbiosVersion;
|
||||
INT8 Attribute;
|
||||
INT8 Pad17[1];
|
||||
CHAR8 MemoryManufacturer[64];
|
||||
CHAR8 MemorySerialNumber[64];
|
||||
CHAR8 MemoryPartNumber[64];
|
||||
CHAR8 MemorySpeed[64];
|
||||
// SMBIOS TYPE131
|
||||
UINT16 CpuType;
|
||||
// SMBIOS TYPE132
|
||||
UINT16 QPI;
|
||||
BOOLEAN SetTable132;
|
||||
BOOLEAN TrustSMBIOS;
|
||||
BOOLEAN InjectMemoryTables;
|
||||
INT8 XMPDetection;
|
||||
BOOLEAN UseARTFreq;
|
||||
// SMBIOS TYPE133
|
||||
UINT64 PlatformFeature;
|
||||
|
||||
// PatchTableType11
|
||||
BOOLEAN NoRomInfo;
|
||||
|
||||
// OS parameters
|
||||
CHAR8 Language[16];
|
||||
CHAR8 BootArgs[256];
|
||||
CHAR16 CustomUuid[40];
|
||||
|
||||
CHAR16 *DefaultVolume;
|
||||
CHAR16 *DefaultLoader;
|
||||
//Boot
|
||||
BOOLEAN LastBootedVolume;
|
||||
BOOLEAN SkipHibernateTimeout;
|
||||
//Monitor
|
||||
BOOLEAN IntelMaxBacklight;
|
||||
// UINT8 Pad21[1];
|
||||
UINT16 VendorEDID;
|
||||
UINT16 ProductEDID;
|
||||
UINT16 BacklightLevel;
|
||||
BOOLEAN BacklightLevelConfig;
|
||||
BOOLEAN IntelBacklight;
|
||||
//Boot options
|
||||
BOOLEAN MemoryFix;
|
||||
BOOLEAN WithKexts;
|
||||
BOOLEAN WithKextsIfNoFakeSMC;
|
||||
BOOLEAN FakeSMCFound;
|
||||
BOOLEAN NoCaches;
|
||||
|
||||
// GUI parameters
|
||||
BOOLEAN Debug;
|
||||
// BOOLEAN Proportional; //never used
|
||||
UINT8 Pad22[1];
|
||||
UINT32 DefaultBackgroundColor;
|
||||
|
||||
//ACPI
|
||||
UINT64 ResetAddr;
|
||||
UINT8 ResetVal;
|
||||
BOOLEAN NoASPM;
|
||||
BOOLEAN DropSSDT;
|
||||
BOOLEAN NoOemTableId;
|
||||
BOOLEAN NoDynamicExtract;
|
||||
BOOLEAN AutoMerge;
|
||||
BOOLEAN GeneratePStates;
|
||||
BOOLEAN GenerateCStates;
|
||||
BOOLEAN GenerateAPSN;
|
||||
BOOLEAN GenerateAPLF;
|
||||
BOOLEAN GeneratePluginType;
|
||||
UINT8 PLimitDict;
|
||||
UINT8 UnderVoltStep;
|
||||
BOOLEAN DoubleFirstState;
|
||||
BOOLEAN SuspendOverride;
|
||||
BOOLEAN EnableC2;
|
||||
BOOLEAN EnableC4;
|
||||
BOOLEAN EnableC6;
|
||||
BOOLEAN EnableISS;
|
||||
BOOLEAN SlpSmiEnable;
|
||||
BOOLEAN FixHeaders;
|
||||
UINT16 C3Latency;
|
||||
BOOLEAN smartUPS;
|
||||
BOOLEAN PatchNMI;
|
||||
BOOLEAN EnableC7;
|
||||
UINT8 SavingMode;
|
||||
|
||||
CHAR16 DsdtName[28];
|
||||
UINT32 FixDsdt;
|
||||
UINT8 MinMultiplier;
|
||||
UINT8 MaxMultiplier;
|
||||
UINT8 PluginType;
|
||||
// BOOLEAN DropMCFG;
|
||||
BOOLEAN FixMCFG;
|
||||
|
||||
UINT32 DeviceRenameCount;
|
||||
ACPI_NAME_LIST *DeviceRename;
|
||||
//Injections
|
||||
BOOLEAN StringInjector;
|
||||
BOOLEAN InjectSystemID;
|
||||
BOOLEAN NoDefaultProperties;
|
||||
|
||||
BOOLEAN ReuseFFFF;
|
||||
|
||||
//PCI devices
|
||||
UINT32 FakeATI; //97
|
||||
UINT32 FakeNVidia;
|
||||
UINT32 FakeIntel;
|
||||
UINT32 FakeLAN; //100
|
||||
UINT32 FakeWIFI;
|
||||
UINT32 FakeSATA;
|
||||
UINT32 FakeXHCI; //103
|
||||
UINT32 FakeIMEI; //106
|
||||
|
||||
//Graphics
|
||||
// UINT16 PCIRootUID;
|
||||
BOOLEAN GraphicsInjector;
|
||||
BOOLEAN InjectIntel;
|
||||
BOOLEAN InjectATI;
|
||||
BOOLEAN InjectNVidia;
|
||||
BOOLEAN DeInit;
|
||||
BOOLEAN LoadVBios;
|
||||
BOOLEAN PatchVBios;
|
||||
VBIOS_PATCH_BYTES *PatchVBiosBytes;
|
||||
UINTN PatchVBiosBytesCount;
|
||||
BOOLEAN InjectEDID;
|
||||
BOOLEAN LpcTune;
|
||||
UINT16 DropOEM_DSM;
|
||||
UINT8 *CustomEDID;
|
||||
UINT16 CustomEDIDsize;
|
||||
UINT16 EdidFixHorizontalSyncPulseWidth;
|
||||
UINT8 EdidFixVideoInputSignal;
|
||||
|
||||
CHAR16 FBName[16];
|
||||
UINT16 VideoPorts;
|
||||
BOOLEAN NvidiaGeneric;
|
||||
BOOLEAN NvidiaNoEFI;
|
||||
BOOLEAN NvidiaSingle;
|
||||
UINT64 VRAM;
|
||||
UINT8 Dcfg[8];
|
||||
UINT8 NVCAP[20];
|
||||
INT8 BootDisplay;
|
||||
BOOLEAN NvidiaWeb;
|
||||
UINT8 pad41[2];
|
||||
UINT32 DualLink;
|
||||
UINT32 IgPlatform;
|
||||
|
||||
// Secure boot white/black list
|
||||
UINT32 SecureBootWhiteListCount;
|
||||
UINT32 SecureBootBlackListCount;
|
||||
CHAR16 **SecureBootWhiteList;
|
||||
|
||||
CHAR16 **SecureBootBlackList;
|
||||
|
||||
// Secure boot
|
||||
UINT8 SecureBoot;
|
||||
UINT8 SecureBootSetupMode;
|
||||
UINT8 SecureBootPolicy;
|
||||
|
||||
// HDA
|
||||
BOOLEAN HDAInjection;
|
||||
INT32 HDALayoutId;
|
||||
|
||||
// USB DeviceTree injection
|
||||
BOOLEAN USBInjection;
|
||||
BOOLEAN USBFixOwnership;
|
||||
BOOLEAN InjectClockID;
|
||||
BOOLEAN HighCurrent;
|
||||
BOOLEAN NameEH00;
|
||||
BOOLEAN NameXH00;
|
||||
|
||||
BOOLEAN LANInjection;
|
||||
BOOLEAN HDMIInjection;
|
||||
|
||||
// UINT8 pad61[2];
|
||||
|
||||
// LegacyBoot
|
||||
CHAR16 LegacyBoot[32];
|
||||
UINT16 LegacyBiosDefaultEntry;
|
||||
|
||||
//SkyLake
|
||||
BOOLEAN HWP;
|
||||
UINT8 TDP;
|
||||
UINT32 HWPValue;
|
||||
|
||||
//Volumes hiding
|
||||
CHAR16 **HVHideStrings;
|
||||
|
||||
INTN HVCount;
|
||||
|
||||
// KernelAndKextPatches
|
||||
KERNEL_AND_KEXT_PATCHES KernelAndKextPatches; //zzzz
|
||||
BOOLEAN KextPatchesAllowed;
|
||||
BOOLEAN KernelPatchesAllowed; //From GUI: Only for user patches, not internal Clover
|
||||
|
||||
CHAR8 AirportBridgeDeviceName[5];
|
||||
|
||||
// Pre-language
|
||||
BOOLEAN KbdPrevLang;
|
||||
|
||||
//Pointer
|
||||
BOOLEAN PointerEnabled;
|
||||
INTN PointerSpeed;
|
||||
UINT64 DoubleClickTime;
|
||||
BOOLEAN PointerMirror;
|
||||
|
||||
// UINT8 pad7[6];
|
||||
UINT8 CustomBoot;
|
||||
XImage *CustomLogo;
|
||||
|
||||
UINT32 RefCLK;
|
||||
|
||||
// SysVariables
|
||||
CHAR8 *RtMLB;
|
||||
UINT8 *RtROM;
|
||||
UINTN RtROMLen;
|
||||
|
||||
UINT32 CsrActiveConfig;
|
||||
UINT16 BooterConfig;
|
||||
CHAR8 BooterCfgStr[64];
|
||||
BOOLEAN DisableCloverHotkeys;
|
||||
BOOLEAN NeverDoRecovery;
|
||||
|
||||
// Multi-config
|
||||
CHAR16 ConfigName[30];
|
||||
CHAR16 *MainConfigName;
|
||||
|
||||
//Drivers
|
||||
INTN BlackListCount;
|
||||
CHAR16 **BlackList;
|
||||
|
||||
//SMC keys
|
||||
CHAR8 RPlt[8];
|
||||
CHAR8 RBr[8];
|
||||
UINT8 EPCI[4];
|
||||
UINT8 REV[6];
|
||||
|
||||
//other devices
|
||||
BOOLEAN Rtc8Allowed;
|
||||
BOOLEAN ForceHPET;
|
||||
BOOLEAN ResetHDA;
|
||||
BOOLEAN PlayAsync;
|
||||
UINT32 DisableFunctions;
|
||||
|
||||
//Patch DSDT arbitrary
|
||||
UINT32 PatchDsdtNum;
|
||||
UINT8 **PatchDsdtFind;
|
||||
UINT32 *LenToFind;
|
||||
UINT8 **PatchDsdtReplace;
|
||||
|
||||
UINT32 *LenToReplace;
|
||||
BOOLEAN DebugDSDT;
|
||||
BOOLEAN SlpWak;
|
||||
BOOLEAN UseIntelHDMI;
|
||||
UINT8 AFGLowPowerState;
|
||||
UINT8 PNLF_UID;
|
||||
// UINT8 pad83[4];
|
||||
|
||||
|
||||
// Table dropping
|
||||
ACPI_DROP_TABLE *ACPIDropTables;
|
||||
|
||||
// Custom entries
|
||||
BOOLEAN DisableEntryScan;
|
||||
BOOLEAN DisableToolScan;
|
||||
BOOLEAN ShowHiddenEntries;
|
||||
UINT8 KernelScan;
|
||||
BOOLEAN LinuxScan;
|
||||
// UINT8 pad84[3];
|
||||
CUSTOM_LOADER_ENTRY *CustomEntries;
|
||||
CUSTOM_LEGACY_ENTRY *CustomLegacy;
|
||||
CUSTOM_TOOL_ENTRY *CustomTool;
|
||||
|
||||
//Add custom properties
|
||||
UINTN NrAddProperties;
|
||||
DEV_PROPERTY *AddProperties;
|
||||
|
||||
//BlackListed kexts
|
||||
CHAR16 BlockKexts[64];
|
||||
|
||||
// Disable inject kexts
|
||||
// UINT32 DisableInjectKextCount;
|
||||
// CHAR16 **DisabledInjectKext;
|
||||
// INPUT_ITEM *InjectKextMenuItem;
|
||||
|
||||
//ACPI tables
|
||||
UINTN SortedACPICount;
|
||||
CHAR16 **SortedACPI;
|
||||
|
||||
// ACPI/PATCHED/AML
|
||||
UINT32 DisabledAMLCount;
|
||||
CHAR16 **DisabledAML;
|
||||
CHAR8 **PatchDsdtLabel; //yyyy
|
||||
CHAR8 **PatchDsdtTgt;
|
||||
INPUT_ITEM *PatchDsdtMenuItem;
|
||||
|
||||
//other
|
||||
UINT32 IntelMaxValue;
|
||||
// UINT32 AudioVolume;
|
||||
|
||||
// boot.efi
|
||||
UINT32 OptionsBits;
|
||||
UINT32 FlagsBits;
|
||||
UINT32 UIScale;
|
||||
UINT32 EFILoginHiDPI;
|
||||
UINT8 flagstate[32];
|
||||
|
||||
DEV_PROPERTY *ArbProperties;
|
||||
|
||||
} SETTINGS_DATA;
|
||||
|
||||
typedef enum {
|
||||
english = 0, //en
|
||||
russian, //ru
|
||||
french, //fr
|
||||
german, //de
|
||||
dutch, //nl
|
||||
italian, //it
|
||||
spanish, //es
|
||||
portuguese, //pt
|
||||
brasil, //br
|
||||
polish, //pl
|
||||
ukrainian, //ua
|
||||
croatian, //hr
|
||||
czech, //cs
|
||||
indonesian, //id
|
||||
korean, //ko
|
||||
chinese, //cn
|
||||
romanian //ro
|
||||
//something else? add, please
|
||||
} LANGUAGES;
|
||||
|
||||
typedef struct _DRIVERS_FLAGS {
|
||||
BOOLEAN EmuVariableLoaded;
|
||||
BOOLEAN VideoLoaded;
|
||||
BOOLEAN PartitionLoaded;
|
||||
BOOLEAN MemFixLoaded;
|
||||
BOOLEAN AptioFixLoaded;
|
||||
BOOLEAN AptioFix2Loaded;
|
||||
BOOLEAN AptioFix3Loaded;
|
||||
BOOLEAN AptioMemFixLoaded;
|
||||
BOOLEAN HFSLoaded;
|
||||
BOOLEAN APFSLoaded;
|
||||
} DRIVERS_FLAGS;
|
||||
|
||||
typedef struct {
|
||||
UINT16 SegmentGroupNum;
|
||||
UINT8 BusNum;
|
||||
UINT8 DevFuncNum;
|
||||
BOOLEAN Valid;
|
||||
//UINT8 DeviceN;
|
||||
UINT8 SlotID;
|
||||
UINT8 SlotType;
|
||||
CHAR8 SlotName[31];
|
||||
} SLOT_DEVICE;
|
||||
|
||||
// ACPI/PATCHED/AML
|
||||
typedef struct ACPI_PATCHED_AML ACPI_PATCHED_AML;
|
||||
struct ACPI_PATCHED_AML
|
||||
{
|
||||
ACPI_PATCHED_AML *Next;
|
||||
CHAR16 *FileName;
|
||||
INPUT_ITEM MenuItem;
|
||||
};
|
||||
|
||||
// syscl - Side load kext
|
||||
typedef struct SIDELOAD_KEXT SIDELOAD_KEXT;
|
||||
struct SIDELOAD_KEXT {
|
||||
SIDELOAD_KEXT *Next;
|
||||
SIDELOAD_KEXT *PlugInList;
|
||||
CHAR16 *FileName;
|
||||
CHAR16 *KextDirNameUnderOEMPath;
|
||||
CHAR16 *Version;
|
||||
INPUT_ITEM MenuItem;
|
||||
};
|
||||
|
||||
extern UINTN AudioNum;
|
||||
extern HDA_OUTPUTS AudioList[20];
|
||||
|
||||
@ -26,6 +605,53 @@ extern BOOLEAN SavePreBootLog;
|
||||
extern UINT8 DefaultAudioVolume;
|
||||
|
||||
|
||||
extern GFX_PROPERTIES gGraphics[];
|
||||
extern HDA_PROPERTIES gAudios[];
|
||||
extern UINTN NGFX;
|
||||
extern UINTN NHDA;
|
||||
extern CONST CHAR16 **SystemPlists;
|
||||
extern CONST CHAR16 **InstallPlists;
|
||||
extern CONST CHAR16 **RecoveryPlists;
|
||||
//extern UINT16 gCPUtype;
|
||||
extern SETTINGS_DATA gSettings;
|
||||
extern LANGUAGES gLanguage;
|
||||
extern BOOLEAN gFirmwareClover;
|
||||
extern DRIVERS_FLAGS gDriversFlags;
|
||||
extern SLOT_DEVICE SlotDevices[];
|
||||
extern EFI_EDID_DISCOVERED_PROTOCOL *EdidDiscovered;
|
||||
//extern UINT8 *gEDID;
|
||||
|
||||
extern UINTN gEvent;
|
||||
|
||||
extern UINT16 gBacklightLevel;
|
||||
|
||||
extern BOOLEAN defDSM;
|
||||
extern UINT16 dropDSM;
|
||||
|
||||
extern TagPtr gConfigDict[];
|
||||
|
||||
// ACPI/PATCHED/AML
|
||||
extern ACPI_PATCHED_AML *ACPIPatchedAML;
|
||||
|
||||
// Sideload/inject kext
|
||||
extern SIDELOAD_KEXT *InjectKextList;
|
||||
|
||||
// SysVariables
|
||||
//extern SYSVARIABLES *SysVariables;
|
||||
|
||||
// Hold theme fixed IconFormat / extension
|
||||
extern CHAR16 *IconFormat;
|
||||
extern CONST CHAR16 *gFirmwareRevision;
|
||||
|
||||
extern BOOLEAN ResumeFromCoreStorage;
|
||||
extern BOOLEAN gRemapSmBiosIsRequire; // syscl: pass argument for Dell SMBIOS here
|
||||
|
||||
extern EFI_GUID gUuid;
|
||||
|
||||
extern EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl;
|
||||
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
SetFSInjection (
|
||||
IN LOADER_ENTRY *Entry
|
||||
@ -56,5 +682,117 @@ VOID GetListOfDsdts(VOID);
|
||||
// syscl - get list of inject kext(s)
|
||||
VOID GetListOfInjectKext(CHAR16 *);
|
||||
|
||||
UINT32
|
||||
GetCrc32 (
|
||||
UINT8 *Buffer,
|
||||
UINTN Size
|
||||
);
|
||||
|
||||
VOID
|
||||
GetDevices(VOID);
|
||||
|
||||
|
||||
CONST CHAR16
|
||||
*GetOSIconName (
|
||||
IN CONST CHAR8 *OSVersion
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetRootUUID (
|
||||
IN OUT REFIT_VOLUME *Volume
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetEarlyUserSettings (
|
||||
IN EFI_FILE *RootDir,
|
||||
TagPtr CfgDict
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetUserSettings (
|
||||
IN EFI_FILE *RootDir,
|
||||
TagPtr CfgDict
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
InitTheme (
|
||||
BOOLEAN UseThemeDefinedInNVRam,
|
||||
EFI_TIME *Time
|
||||
);
|
||||
|
||||
CHAR16*
|
||||
GetOtherKextsDir (BOOLEAN On);
|
||||
|
||||
CHAR16*
|
||||
GetOSVersionKextsDir (
|
||||
CHAR8 *OSVersion
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
InjectKextsFromDir (
|
||||
EFI_STATUS Status,
|
||||
CHAR16 *SrcDir
|
||||
);
|
||||
|
||||
VOID
|
||||
ParseLoadOptions (
|
||||
OUT CHAR16 **Conf,
|
||||
OUT TagPtr *Dict
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
SaveSettings (VOID);
|
||||
|
||||
|
||||
|
||||
/** Returns a boolean and then enable disable the patch if MachOSEntry have a match for the booted OS. */
|
||||
BOOLEAN IsPatchEnabled(CHAR8 *MatchOSEntry, CHAR8 *CurrOS);
|
||||
|
||||
/** return true if a given os contains '.' as separator,
|
||||
and then match components of the current booted OS. Also allow 10.10.x format meaning all revisions
|
||||
of the 10.10 OS */
|
||||
BOOLEAN IsOSValid(CHAR8 *MatchOS, CHAR8 *CurrOS);
|
||||
|
||||
// Micky1979: Next five functions (+ needed struct) are to split a string like "10.10.5,10.7,10.11.6,10.8.x"
|
||||
// in their components separated by comma (in this case)
|
||||
struct MatchOSes {
|
||||
INTN count;
|
||||
CHAR8* array[100];
|
||||
};
|
||||
|
||||
|
||||
/** return MatchOSes struct (count+array) with the components of str that contains the given char sep as separator. */
|
||||
struct
|
||||
MatchOSes *GetStrArraySeparatedByChar(CHAR8 *str, CHAR8 sep);
|
||||
|
||||
/** trim spaces in MatchOSes struct array */
|
||||
VOID
|
||||
TrimMatchOSArray(struct MatchOSes *s);
|
||||
|
||||
/** free MatchOSes struct and its array. */
|
||||
VOID deallocMatchOSes(struct MatchOSes *s);
|
||||
|
||||
/** count occurrences of a given char in a char* string. */
|
||||
INTN
|
||||
countOccurrences(CHAR8 *s, CHAR8 c);
|
||||
|
||||
|
||||
//get default boot
|
||||
VOID GetBootFromOption(VOID);
|
||||
VOID
|
||||
InitKextList(VOID);
|
||||
|
||||
EFI_STATUS
|
||||
LoadUserSettings (
|
||||
IN EFI_FILE *RootDir,
|
||||
CONST CHAR16 *ConfName,
|
||||
TagPtr *dict
|
||||
);
|
||||
|
||||
VOID
|
||||
ParseSMBIOSSettings (
|
||||
TagPtr dictPointer
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -30,7 +30,9 @@
|
||||
|
||||
|
||||
#include "Platform.h"
|
||||
#include "StartupSound.h"
|
||||
#include "Settings.h"
|
||||
#include "Nvram.h"
|
||||
|
||||
extern BOOLEAN DayLight;
|
||||
extern UINTN AudioNum;
|
||||
|
@ -9,7 +9,22 @@
|
||||
#define PLATFORM_STARTUPSOUND_H_
|
||||
|
||||
|
||||
#define BOOT_CHIME_VAR_ATTRIBUTES (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS)
|
||||
#define BOOT_CHIME_VAR_DEVICE (L"Device")
|
||||
#define BOOT_CHIME_VAR_DEVICE_PATH (L"device_path")
|
||||
#define BOOT_CHIME_VAR_INDEX (L"Index")
|
||||
#define BOOT_CHIME_VAR_VOLUME (L"Volume")
|
||||
|
||||
|
||||
|
||||
extern EFI_AUDIO_IO_PROTOCOL *AudioIo;
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
StartupSoundPlay(EFI_FILE *Dir, CONST CHAR16* SoundFile);
|
||||
|
||||
VOID GetOutputs();
|
||||
|
||||
EFI_STATUS CheckSyncSound();
|
||||
|
||||
#endif /* PLATFORM_STARTUPSOUND_H_ */
|
||||
|
@ -4,7 +4,9 @@
|
||||
*/
|
||||
|
||||
#include "StateGenerator.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "smbios.h"
|
||||
#include "AcpiPatcher.h"
|
||||
|
||||
CONST UINT8 pss_ssdt_header[] =
|
||||
{
|
||||
|
@ -6,8 +6,8 @@
|
||||
*/
|
||||
|
||||
#include "Platform.h"
|
||||
|
||||
#include "ati.h"
|
||||
#include "smbios.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_ATI 1
|
||||
|
@ -51,6 +51,12 @@ int base64_decode_value(char value_in);
|
||||
int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in);
|
||||
|
||||
|
||||
UINT8
|
||||
*Base64DecodeClover (
|
||||
IN CHAR8 *EncodedData,
|
||||
OUT UINTN *DecodedSize
|
||||
);
|
||||
|
||||
|
||||
#endif /* BASE64_CDECODE_H */
|
||||
|
||||
|
36
rEFIt_UEFI/Platform/card_vlist.h
Normal file
36
rEFIt_UEFI/Platform/card_vlist.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* card_vlist.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_CARD_VLIST_H_
|
||||
#define PLATFORM_CARD_VLIST_H_
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
FillCardList (
|
||||
TagPtr CfgDict
|
||||
);
|
||||
|
||||
CARDLIST
|
||||
*FindCardWithIds (
|
||||
UINT32 Id,
|
||||
UINT32 SubId
|
||||
);
|
||||
|
||||
VOID
|
||||
AddCard (
|
||||
CONST CHAR8 *Model,
|
||||
UINT32 Id,
|
||||
UINT32 SubId,
|
||||
UINT64 VideoRam,
|
||||
UINTN VideoPorts,
|
||||
BOOLEAN LoadVBios
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_CARD_VLIST_H_ */
|
@ -35,6 +35,7 @@
|
||||
*/
|
||||
|
||||
#include "Platform.h"
|
||||
#include "smbios.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_CPU 1
|
||||
|
29
rEFIt_UEFI/Platform/cpu.h
Normal file
29
rEFIt_UEFI/Platform/cpu.h
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* cpu.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_CPU_H_
|
||||
#define PLATFORM_CPU_H_
|
||||
|
||||
extern UINT64 TurboMsr;
|
||||
extern CPU_STRUCTURE gCPUStructure;
|
||||
|
||||
|
||||
VOID
|
||||
GetCPUProperties (VOID);
|
||||
|
||||
MACHINE_TYPES
|
||||
GetDefaultModel (VOID);
|
||||
|
||||
UINT16
|
||||
GetAdvancedCpuType (VOID);
|
||||
|
||||
VOID
|
||||
SetCPUProperties (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_CPU_H_ */
|
@ -154,6 +154,7 @@ struct DevPropString {
|
||||
|
||||
typedef struct DevPropString DevPropString;
|
||||
|
||||
extern UINT32 devices_number;
|
||||
extern DevPropString *device_inject_string;
|
||||
extern UINT8 *device_inject_stringdata;
|
||||
extern UINT32 device_inject_stringlength;
|
||||
@ -169,4 +170,6 @@ VOID devprop_free_string(DevPropString *string);
|
||||
BOOLEAN set_eth_props(pci_dt_t *eth_dev);
|
||||
BOOLEAN set_usb_props(pci_dt_t *usb_dev);
|
||||
|
||||
UINT32 PciAddrFromDevicePath(EFI_DEVICE_PATH_PROTOCOL* DevicePath);
|
||||
|
||||
#endif /* !__LIBSAIO_DEVICE_INJECT_H */
|
||||
|
@ -63,6 +63,7 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "gma.h"
|
||||
#include "platformdata.h"
|
||||
|
||||
#ifndef DEBUG_GMA
|
||||
#ifndef DEBUG_ALL
|
||||
|
@ -26,5 +26,10 @@ switch (ram)
|
||||
break;
|
||||
default:
|
||||
*/
|
||||
|
||||
CONST CHAR8
|
||||
*get_gma_model (
|
||||
IN UINT16 DeviceID
|
||||
);
|
||||
|
||||
#endif /* !__LIBSAIO_GMA_H */
|
||||
|
29
rEFIt_UEFI/Platform/guid.h
Normal file
29
rEFIt_UEFI/Platform/guid.h
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* guid.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_GUID_H_
|
||||
#define PLATFORM_GUID_H_
|
||||
|
||||
|
||||
|
||||
BOOLEAN
|
||||
IsValidGuidAsciiString (
|
||||
IN CHAR8 *Str
|
||||
);
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
StrToGuidLE (
|
||||
IN CHAR16 *Str,
|
||||
OUT EFI_GUID *Guid);
|
||||
|
||||
CHAR16 * GuidBeToStr(EFI_GUID *Guid);
|
||||
CHAR16 * GuidLEToStr(EFI_GUID *Guid);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_GUID_H_ */
|
@ -323,4 +323,13 @@
|
||||
#define HDA_CODEC_INTELXXXX HDA_CODEC_CONSTRUCT(INTEL, 0xffff)
|
||||
#endif
|
||||
|
||||
BOOLEAN
|
||||
setup_hda_devprop (
|
||||
EFI_PCI_IO_PROTOCOL *PciIo,
|
||||
pci_dt_t *hda_dev,
|
||||
CHAR8 *OSVersion
|
||||
);
|
||||
|
||||
BOOLEAN EFIAPI IsHDMIAudio(EFI_HANDLE PciDevHandle);
|
||||
|
||||
#endif /* !__LIBSAIO_GMA_H */
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "LoaderUefi.h"
|
||||
//#include "device_tree.h"
|
||||
#include "Nvram.h"
|
||||
#include "FixBiosDsdt.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#include "kernel_patcher.h"
|
||||
#include "sse3_patcher.h"
|
||||
|
@ -103,6 +103,8 @@ extern UINT32 PrelinkInfoSize;
|
||||
extern UINT32 DisplayVendor[];
|
||||
//VOID findCPUfamily();
|
||||
|
||||
extern BOOLEAN SSSE3;
|
||||
|
||||
|
||||
//UINT64 kernelsize;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "Platform.h"
|
||||
|
||||
#include "DataHubCpu.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define KEXT_INJECT_DEBUG 0
|
||||
|
@ -50,6 +50,8 @@
|
||||
#include "Platform.h"
|
||||
#include "nvidia.h"
|
||||
#include "device_inject.h"
|
||||
#include "smbios.h"
|
||||
#include "card_vlist.h"
|
||||
|
||||
#ifndef DEBUG_NVIDIA
|
||||
#ifndef DEBUG_ALL
|
||||
|
@ -175,4 +175,16 @@ extern UINT8 default_NVPM[];
|
||||
extern UINT8 default_dcfg_0[];
|
||||
extern UINT8 default_dcfg_1[];
|
||||
|
||||
BOOLEAN
|
||||
setup_nvidia_devprop (
|
||||
pci_dt_t *nvda_dev
|
||||
);
|
||||
|
||||
CONST CHAR8
|
||||
*get_nvidia_model (
|
||||
UINT32 device_id,
|
||||
UINT32 subsys_id,
|
||||
CARDLIST * nvcard
|
||||
);
|
||||
|
||||
#endif /* !__LIBSAIO_NVIDIA_H */
|
||||
|
@ -4,6 +4,9 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "nvidia.h"
|
||||
#include "smbios.h"
|
||||
#include "cpu.h"
|
||||
#include "Nvram.h"
|
||||
|
||||
/* Machine Default Data */
|
||||
|
||||
|
36
rEFIt_UEFI/Platform/platformdata.h
Normal file
36
rEFIt_UEFI/Platform/platformdata.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* platformdata.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_PLATFORMDATA_H_
|
||||
#define PLATFORM_PLATFORMDATA_H_
|
||||
|
||||
extern CONST CHAR8 *BiosVendor;
|
||||
extern CONST CHAR8 *AppleManufacturer;
|
||||
extern CONST CHAR8 *AppleBoardSN;
|
||||
extern CONST CHAR8 *AppleBoardLocation;
|
||||
|
||||
extern UINT32 gFwFeatures;
|
||||
extern UINT32 gFwFeaturesMask;
|
||||
extern UINT64 gPlatformFeature;
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
SetDMISettingsForModel (
|
||||
MACHINE_TYPES Model,
|
||||
BOOLEAN Redefine
|
||||
);
|
||||
|
||||
MACHINE_TYPES GetModelFromString (
|
||||
CHAR8 *ProductName
|
||||
);
|
||||
|
||||
VOID
|
||||
GetDefaultSettings(VOID);
|
||||
|
||||
|
||||
#endif /* PLATFORM_PLATFORMDATA_H_ */
|
@ -29,6 +29,7 @@
|
||||
*/
|
||||
//Slice - rewrite for UEFI with more functions like Copyright (c) 2003 Apple Computer
|
||||
#include "Platform.h"
|
||||
#include "b64cdecode.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_PLIST 0
|
||||
@ -1046,3 +1047,69 @@ SymbolPtr FindSymbol(CHAR8 *tmpString, SymbolPtr *prevSymbol )
|
||||
|
||||
return symbol;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
return TRUE if the property present && value = TRUE
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyTrue (
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
return Prop != NULL &&
|
||||
((Prop->type == kTagTypeTrue) ||
|
||||
((Prop->type == kTagTypeString) && Prop->string &&
|
||||
((Prop->string[0] == 'y') || (Prop->string[0] == 'Y'))));
|
||||
}
|
||||
|
||||
/*
|
||||
return TRUE if the property present && value = FALSE
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyFalse (
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
return Prop != NULL &&
|
||||
((Prop->type == kTagTypeFalse) ||
|
||||
((Prop->type == kTagTypeString) && Prop->string &&
|
||||
((Prop->string[0] == 'N') || (Prop->string[0] == 'n'))));
|
||||
}
|
||||
|
||||
/*
|
||||
Possible values
|
||||
<integer>1234</integer>
|
||||
<integer>+1234</integer>
|
||||
<integer>-1234</integer>
|
||||
<string>0x12abd</string>
|
||||
*/
|
||||
INTN
|
||||
GetPropertyInteger (
|
||||
TagPtr Prop,
|
||||
INTN Default
|
||||
)
|
||||
{
|
||||
if (Prop == NULL) {
|
||||
return Default;
|
||||
}
|
||||
|
||||
if (Prop->type == kTagTypeInteger) {
|
||||
return (INTN)Prop->string; //this is union char* or size_t
|
||||
} else if ((Prop->type == kTagTypeString) && Prop->string) {
|
||||
if ((Prop->string[1] == 'x') || (Prop->string[1] == 'X')) {
|
||||
return (INTN)AsciiStrHexToUintn (Prop->string);
|
||||
}
|
||||
|
||||
if (Prop->string[0] == '-') {
|
||||
return -(INTN)AsciiStrDecimalToUintn (Prop->string + 1);
|
||||
}
|
||||
|
||||
// return (INTN)AsciiStrDecimalToUintn (Prop->string);
|
||||
return (INTN)AsciiStrDecimalToUintn((Prop->string[0] == '+') ? (Prop->string + 1) : Prop->string);
|
||||
}
|
||||
return Default;
|
||||
}
|
||||
|
@ -24,4 +24,74 @@ typedef struct TagStruct {
|
||||
|
||||
|
||||
|
||||
CHAR8*
|
||||
XMLDecode (
|
||||
CHAR8 *src
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
ParseXML (
|
||||
CONST CHAR8 *buffer,
|
||||
TagPtr *dict,
|
||||
UINT32 bufSize
|
||||
);
|
||||
|
||||
|
||||
//VOID RenderSVGfont(NSVGfont *fontSVG);
|
||||
|
||||
TagPtr
|
||||
GetProperty (
|
||||
TagPtr dict,
|
||||
CONST CHAR8* key
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
XMLParseNextTag (
|
||||
CHAR8 *buffer,
|
||||
TagPtr *tag,
|
||||
UINT32 *lenPtr
|
||||
);
|
||||
|
||||
VOID
|
||||
FreeTag (
|
||||
TagPtr tag
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetNextTag (
|
||||
UINT8 *buffer,
|
||||
CHAR8 **tag,
|
||||
UINT32 *start,
|
||||
UINT32 *length
|
||||
);
|
||||
|
||||
INTN
|
||||
GetTagCount (
|
||||
TagPtr dict
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetElement (
|
||||
TagPtr dict,
|
||||
INTN id,
|
||||
TagPtr *dict1
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
IsPropertyTrue (
|
||||
TagPtr Prop
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
IsPropertyFalse (
|
||||
TagPtr Prop
|
||||
);
|
||||
|
||||
INTN
|
||||
GetPropertyInteger (
|
||||
TagPtr Prop,
|
||||
INTN Default
|
||||
);
|
||||
|
||||
|
||||
#endif /* PLATFORM_PLIST_H_ */
|
||||
|
@ -21,6 +21,9 @@
|
||||
|
||||
#include "Platform.h"
|
||||
#include "../../Version.h"
|
||||
#include "cpu.h"
|
||||
#include "platformdata.h"
|
||||
#include "AcpiPatcher.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -46,7 +49,6 @@ extern "C" {
|
||||
#define CPUID_FEATURE_EST _HBit(7)
|
||||
#define MAX_OEM_STRING 256
|
||||
|
||||
EFI_GUID gUuid;
|
||||
EFI_GUID *gTableGuidArray[] = {&gEfiSmbiosTableGuid, &gEfiSmbios3TableGuid};
|
||||
|
||||
const CHAR8 unknown[] = "unknown";
|
||||
|
33
rEFIt_UEFI/Platform/smbios.h
Normal file
33
rEFIt_UEFI/Platform/smbios.h
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* smbios.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_SMBIOS_H_
|
||||
#define PLATFORM_SMBIOS_H_
|
||||
|
||||
extern APPLE_SMBIOS_STRUCTURE_POINTER SmbiosTable;
|
||||
extern BOOLEAN gMobile;
|
||||
|
||||
|
||||
|
||||
UINTN
|
||||
iStrLen(
|
||||
CONST CHAR8* String,
|
||||
UINTN MaxLen
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
PrepatchSmbios (VOID);
|
||||
|
||||
VOID
|
||||
PatchSmbios (VOID);
|
||||
|
||||
VOID
|
||||
FinalizeSmbios (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_SMBIOS_H_ */
|
@ -19,7 +19,7 @@
|
||||
#include "Platform.h"
|
||||
#include "spd.h"
|
||||
#include "memvendors.h"
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
#ifndef DEBUG_SPD
|
||||
#ifndef DEBUG_ALL
|
||||
|
@ -176,4 +176,8 @@ Byte Number Function Described Notes
|
||||
382~383 0x17E~0x17F Reserved; must be coded as 0x00
|
||||
*/
|
||||
|
||||
|
||||
VOID
|
||||
ScanSPD (VOID);
|
||||
|
||||
#endif /* !__LIBSAIO_SPD_H */
|
||||
|
18
rEFIt_UEFI/Platform/usbfix.h
Normal file
18
rEFIt_UEFI/Platform/usbfix.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* usbfix.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_USBFIX_H_
|
||||
#define PLATFORM_USBFIX_H_
|
||||
|
||||
|
||||
|
||||
EFI_STATUS
|
||||
FixOwnership (VOID);
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_USBFIX_H_ */
|
@ -87,81 +87,81 @@ CHAR16 *Old1_RemoveLoadOption(IN CONST CHAR16 *LoadOptions, IN CONST CHAR16 *Loa
|
||||
|
||||
|
||||
|
||||
|
||||
static XString AddLoadOption(IN CONST XString& LoadOptions, IN CONST XString& LoadOption)
|
||||
{
|
||||
// If either option strings are null nothing to do
|
||||
if (LoadOptions.isEmpty())
|
||||
{
|
||||
// return LoadOption as nothing to add
|
||||
return LoadOption;
|
||||
}
|
||||
// If there is no option or it is already present duplicate original
|
||||
else {
|
||||
if ( LoadOptions.ExistIn(LoadOption) ) return LoadOptions;
|
||||
// Otherwise add option
|
||||
return SPrintf("%s %s", LoadOptions.c_str(), LoadOption.c_str()); //LoadOptions + LoadOption
|
||||
}
|
||||
}
|
||||
|
||||
static XString RemoveLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption)
|
||||
{
|
||||
// CONST CHAR16 *Placement;
|
||||
// CHAR16 *NewLoadOptions;
|
||||
// UINTN Length, Offset, OptionLength;
|
||||
|
||||
//DBG("LoadOptions: '%ls', remove LoadOption: '%ls'\n", LoadOptions, LoadOption);
|
||||
// If there are no options then nothing to do
|
||||
if (LoadOptions.isEmpty()) return ""_XS;
|
||||
// If there is no option to remove then duplicate original
|
||||
if (LoadOption.isEmpty()) return LoadOptions;
|
||||
// If not present duplicate original
|
||||
xsize Offset = LoadOptions.IdxOf(LoadOption);
|
||||
if ( Offset == MAX_XSIZE ) return LoadOptions;
|
||||
|
||||
// Get placement of option in original options
|
||||
// Offset = (Placement - LoadOptions);
|
||||
xsize Length = LoadOptions.length();
|
||||
xsize OptionLength = LoadOption.length();
|
||||
|
||||
// If this is just part of some larger option (contains non-space at the beginning or end)
|
||||
if ((Offset > 0 && LoadOptions[Offset - 1] != ' ') ||
|
||||
((Offset + OptionLength) < Length && LoadOptions[Offset + OptionLength] != ' ')) {
|
||||
return LoadOptions;
|
||||
}
|
||||
|
||||
// Consume preceeding spaces
|
||||
while (Offset > 0 && LoadOptions[Offset - 1] == ' ') {
|
||||
OptionLength++;
|
||||
Offset--;
|
||||
}
|
||||
|
||||
// Consume following spaces
|
||||
while (LoadOptions[Offset + OptionLength] == ' ') {
|
||||
OptionLength++;
|
||||
}
|
||||
|
||||
// If it's the whole string return NULL
|
||||
if (OptionLength == Length) return ""_XS;
|
||||
|
||||
XString NewLoadOptions;
|
||||
if (Offset == 0) {
|
||||
// Simple case - we just need substring after OptionLength position
|
||||
NewLoadOptions = LoadOptions.SubString(OptionLength, MAX_XSIZE);
|
||||
} else {
|
||||
// Copy preceeding substring
|
||||
NewLoadOptions = LoadOptions.SubString(0, Offset);
|
||||
// CopyMem(NewLoadOptions, LoadOptions, Offset * sizeof(CHAR16));
|
||||
if ((Offset + OptionLength) < Length) {
|
||||
// Copy following substring, but include one space also
|
||||
OptionLength--;
|
||||
NewLoadOptions += LoadOptions.SubString(Offset + OptionLength, MAX_XSIZE);
|
||||
// CopyMem(NewLoadOptions + Offset, LoadOptions + Offset + OptionLength, (Length - OptionLength - Offset) * sizeof(CHAR16));
|
||||
}
|
||||
}
|
||||
return NewLoadOptions;
|
||||
}
|
||||
|
||||
//
|
||||
//static XString AddLoadOption(IN CONST XString& LoadOptions, IN CONST XString& LoadOption)
|
||||
//{
|
||||
// // If either option strings are null nothing to do
|
||||
// if (LoadOptions.isEmpty())
|
||||
// {
|
||||
// // return LoadOption as nothing to add
|
||||
// return LoadOption;
|
||||
// }
|
||||
// // If there is no option or it is already present duplicate original
|
||||
// else {
|
||||
// if ( LoadOptions.ExistIn(LoadOption) ) return LoadOptions;
|
||||
// // Otherwise add option
|
||||
// return SPrintf("%s %s", LoadOptions.c_str(), LoadOption.c_str()); //LoadOptions + LoadOption
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//static XString RemoveLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption)
|
||||
//{
|
||||
//// CONST CHAR16 *Placement;
|
||||
//// CHAR16 *NewLoadOptions;
|
||||
//// UINTN Length, Offset, OptionLength;
|
||||
//
|
||||
// //DBG("LoadOptions: '%ls', remove LoadOption: '%ls'\n", LoadOptions, LoadOption);
|
||||
// // If there are no options then nothing to do
|
||||
// if (LoadOptions.isEmpty()) return ""_XS;
|
||||
// // If there is no option to remove then duplicate original
|
||||
// if (LoadOption.isEmpty()) return LoadOptions;
|
||||
// // If not present duplicate original
|
||||
// xsize Offset = LoadOptions.IdxOf(LoadOption);
|
||||
// if ( Offset == MAX_XSIZE ) return LoadOptions;
|
||||
//
|
||||
// // Get placement of option in original options
|
||||
//// Offset = (Placement - LoadOptions);
|
||||
// xsize Length = LoadOptions.length();
|
||||
// xsize OptionLength = LoadOption.length();
|
||||
//
|
||||
// // If this is just part of some larger option (contains non-space at the beginning or end)
|
||||
// if ((Offset > 0 && LoadOptions[Offset - 1] != ' ') ||
|
||||
// ((Offset + OptionLength) < Length && LoadOptions[Offset + OptionLength] != ' ')) {
|
||||
// return LoadOptions;
|
||||
// }
|
||||
//
|
||||
// // Consume preceeding spaces
|
||||
// while (Offset > 0 && LoadOptions[Offset - 1] == ' ') {
|
||||
// OptionLength++;
|
||||
// Offset--;
|
||||
// }
|
||||
//
|
||||
// // Consume following spaces
|
||||
// while (LoadOptions[Offset + OptionLength] == ' ') {
|
||||
// OptionLength++;
|
||||
// }
|
||||
//
|
||||
// // If it's the whole string return NULL
|
||||
// if (OptionLength == Length) return ""_XS;
|
||||
//
|
||||
// XString NewLoadOptions;
|
||||
// if (Offset == 0) {
|
||||
// // Simple case - we just need substring after OptionLength position
|
||||
// NewLoadOptions = LoadOptions.SubString(OptionLength, MAX_XSIZE);
|
||||
// } else {
|
||||
// // Copy preceeding substring
|
||||
// NewLoadOptions = LoadOptions.SubString(0, Offset);
|
||||
//// CopyMem(NewLoadOptions, LoadOptions, Offset * sizeof(CHAR16));
|
||||
// if ((Offset + OptionLength) < Length) {
|
||||
// // Copy following substring, but include one space also
|
||||
// OptionLength--;
|
||||
// NewLoadOptions += LoadOptions.SubString(Offset + OptionLength, MAX_XSIZE);
|
||||
//// CopyMem(NewLoadOptions + Offset, LoadOptions + Offset + OptionLength, (Length - OptionLength - Offset) * sizeof(CHAR16));
|
||||
// }
|
||||
// }
|
||||
// return NewLoadOptions;
|
||||
//}
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
@ -36,6 +36,9 @@
|
||||
#include "../Platform/Platform.h"
|
||||
#include "entry_scan.h"
|
||||
#include "../refit/menu.h"
|
||||
#include "../Platform/guid.h"
|
||||
#include "../Platform/APFS.h"
|
||||
#include "../Platform/cpu.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_COMMON_MENU 1
|
||||
@ -534,3 +537,13 @@ BOOLEAN AskUserForFilePath(IN CHAR16 *Title OPTIONAL, IN EFI_DEVICE_PATH_PROTOCO
|
||||
}
|
||||
return AskUserForFilePathFromVolumes(Title, Result);
|
||||
}
|
||||
|
||||
// input - tsc
|
||||
// output - milliseconds
|
||||
// the caller is responsible for t1 > t0
|
||||
UINT64 TimeDiff(UINT64 t0, UINT64 t1)
|
||||
{
|
||||
return DivU64x64Remainder((t1 - t0), DivU64x32(gCPUStructure.TSCFrequency, 1000), 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,6 +13,38 @@
|
||||
XString AddLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption);
|
||||
XString RemoveLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption);
|
||||
|
||||
INTN
|
||||
StrniCmp (
|
||||
IN CONST CHAR16 *Str1,
|
||||
IN CONST CHAR16 *Str2,
|
||||
IN UINTN Count
|
||||
);
|
||||
|
||||
CONST CHAR16
|
||||
*StriStr(
|
||||
IN CONST CHAR16 *Str,
|
||||
IN CONST CHAR16 *SearchFor
|
||||
);
|
||||
|
||||
VOID
|
||||
StrToLower (
|
||||
IN CHAR16 *Str
|
||||
);
|
||||
|
||||
VOID
|
||||
AlertMessage (
|
||||
IN CONST CHAR16 *Title,
|
||||
IN CONST CHAR16 *Message
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
YesNoMessage (
|
||||
IN CONST CHAR16 *Title,
|
||||
IN CONST CHAR16 *Message);
|
||||
|
||||
|
||||
UINT64 TimeDiff(UINT64 t0, UINT64 t1); //double in Platform.h
|
||||
|
||||
|
||||
|
||||
#endif /* ENTRY_SCAN_COMMON_H_ */
|
||||
|
@ -40,6 +40,9 @@
|
||||
#include "../refit/screen.h"
|
||||
#include "../refit/menu.h"
|
||||
#include "common.h"
|
||||
#include "../Platform/Nvram.h"
|
||||
#include "../Platform/APFS.h"
|
||||
#include "../Platform/guid.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_SCAN_LOADER 1
|
||||
@ -53,8 +56,6 @@
|
||||
#define DBG(...) DebugLog(DEBUG_SCAN_LOADER, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
//#define DUMP_KERNEL_KEXT_PATCHES 1
|
||||
|
||||
#define MACOSX_LOADER_PATH L"\\System\\Library\\CoreServices\\boot.efi"
|
||||
|
||||
const XStringW LINUX_ISSUE_PATH = L"\\etc\\issue"_XSW;
|
||||
|
@ -8,9 +8,15 @@
|
||||
#ifndef LOADER_H_
|
||||
#define LOADER_H_
|
||||
|
||||
//#define DUMP_KERNEL_KEXT_PATCHES 1
|
||||
|
||||
|
||||
UINT8 GetOSTypeFromPath (IN CONST CHAR16 *Path);
|
||||
|
||||
#ifdef DUMP_KERNEL_KEXT_PATCHES
|
||||
// Utils functions
|
||||
VOID DumpKernelAndKextPatches(KERNEL_AND_KEXT_PATCHES *Patches);
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -71,7 +71,6 @@
|
||||
#define DBG(...) DebugLog(DEBUG_SCAN_TOOL, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
extern EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl;
|
||||
STATIC BOOLEAN AddToolEntry(IN CONST CHAR16 *LoaderPath, IN CONST CHAR16 *FullTitle, IN CONST CHAR16 *LoaderTitle,
|
||||
IN REFIT_VOLUME *Volume, const XImage& Image,
|
||||
IN CHAR16 ShortcutLetter, IN CONST XString& Options)
|
||||
|
@ -51,6 +51,9 @@
|
||||
#include "../libeg/VectorGraphics.h" // for testSVG
|
||||
#include "shared_with_menu.h"
|
||||
#include "../refit/menu.h" // for DrawTextXY. Must disappear soon.
|
||||
#include "../Platform/AcpiPatcher.h"
|
||||
#include "../Platform/Nvram.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_MENU 1
|
||||
#else
|
||||
|
22
rEFIt_UEFI/libeg/image.h
Normal file
22
rEFIt_UEFI/libeg/image.h
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
* image.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
#ifndef LIBEG_IMAGE_H_
|
||||
#define LIBEG_IMAGE_H_
|
||||
|
||||
|
||||
|
||||
EG_IMAGE
|
||||
*egDecodePNG (
|
||||
IN const UINT8 *FileData,
|
||||
IN UINTN FileDataLength,
|
||||
IN BOOLEAN WantAlpha
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif /* LIBEG_IMAGE_H_ */
|
@ -37,6 +37,8 @@
|
||||
|
||||
#include "nanosvg.h"
|
||||
#include "FloatLib.h"
|
||||
#include "../Platform/b64cdecode.h"
|
||||
#include "image.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_SVG 0
|
||||
|
@ -81,6 +81,7 @@
|
||||
libeg/scroll_images.cpp
|
||||
libeg/BmLib.h
|
||||
libeg/BmLib.cpp
|
||||
libeg/image.h
|
||||
libeg/image.cpp
|
||||
# libeg/load_bmp.cpp
|
||||
libeg/load_icns.cpp
|
||||
@ -119,7 +120,10 @@
|
||||
Platform/Posix/wchar.h
|
||||
Platform/Posix/wchar.cpp
|
||||
Platform/Posix/abort.cpp
|
||||
Platform/AcpiPatcher.h
|
||||
Platform/AcpiPatcher.cpp
|
||||
Platform/APFS.h
|
||||
Platform/APFS.cpp
|
||||
Platform/ati_reg.h
|
||||
Platform/AmlGenerator.cpp
|
||||
Platform/AmlGenerator.h
|
||||
@ -132,44 +136,60 @@
|
||||
Platform/boot.h
|
||||
Platform/BootLog.cpp
|
||||
Platform/BootLog.h
|
||||
Platform/BootOptions.h
|
||||
Platform/BootOptions.cpp
|
||||
Platform/card_vlist.h
|
||||
Platform/card_vlist.cpp
|
||||
Platform/Console.h
|
||||
Platform/Console.cpp
|
||||
Platform/cpu.h
|
||||
Platform/cpu.cpp
|
||||
Platform/DataHubCpu.cpp
|
||||
Platform/DataHubCpu.h
|
||||
Platform/DataHubCpu.cpp
|
||||
# Platform/DataHubRecords.h
|
||||
Platform/device_inject.cpp
|
||||
Platform/device_inject.h
|
||||
# Platform/device_tree.cpp
|
||||
# Platform/device_tree.h
|
||||
Platform/Edid.h
|
||||
Platform/Edid.cpp
|
||||
Platform/Events.cpp
|
||||
Platform/Events.h
|
||||
Platform/hda.cpp
|
||||
Platform/hda.h
|
||||
Platform/HdaCodecDump.cpp
|
||||
Platform/HdaCodecDump.h
|
||||
Platform/gma.cpp
|
||||
Platform/FixBiosDsdt.h
|
||||
Platform/FixBiosDsdt.cpp
|
||||
Platform/gma.h
|
||||
Platform/gma.cpp
|
||||
Platform/guid.h
|
||||
Platform/guid.cpp
|
||||
Platform/hda.h
|
||||
Platform/hda.cpp
|
||||
Platform/HdaCodecDump.h
|
||||
Platform/HdaCodecDump.cpp
|
||||
Platform/Injectors.h
|
||||
Platform/Injectors.cpp
|
||||
Platform/LegacyBiosThunk.cpp
|
||||
Platform/LegacyBiosThunk.h
|
||||
Platform/LegacyBiosThunk.cpp
|
||||
Platform/LegacyBoot.h
|
||||
Platform/LegacyBoot.cpp
|
||||
Platform/memvendors.h
|
||||
Platform/nvidia.cpp
|
||||
Platform/nvidia.h
|
||||
Platform/Nvram.cpp
|
||||
Platform/nvidia.cpp
|
||||
Platform/Net.h
|
||||
Platform/Net.cpp
|
||||
Platform/Nvram.h
|
||||
Platform/Nvram.cpp
|
||||
Platform/Platform.h
|
||||
Platform/platformdata.h
|
||||
Platform/platformdata.cpp
|
||||
Platform/PlatformDriverOverride.h
|
||||
Platform/PlatformDriverOverride.cpp
|
||||
Platform/plist.h
|
||||
Platform/plist.cpp
|
||||
# Platform/Pointer.cpp
|
||||
Platform/Settings.cpp
|
||||
Platform/Settings.h
|
||||
Platform/smbios.h
|
||||
Platform/smbios.cpp
|
||||
# Platform/SmBios.h
|
||||
Platform/spd.cpp
|
||||
Platform/spd.h
|
||||
Platform/string.cpp
|
||||
@ -177,6 +197,7 @@
|
||||
Platform/StateGenerator.cpp
|
||||
Platform/StateGenerator.h
|
||||
# Platform/stringTable.cpp
|
||||
Platform/usbfix.h
|
||||
Platform/usbfix.cpp
|
||||
# Platform/UsbMass.h
|
||||
# Platform/UsbMassBoot.h
|
||||
@ -184,7 +205,6 @@
|
||||
# Platform/VesaBiosExtensions.h
|
||||
Platform/b64cdecode.h
|
||||
Platform/b64cdecode.cpp
|
||||
Platform/FixBiosDsdt.cpp
|
||||
Platform/MachO-loader.h
|
||||
Platform/LoaderUefi.h
|
||||
Platform/kernel_patcher.h
|
||||
@ -192,11 +212,8 @@
|
||||
Platform/kext_patcher.cpp
|
||||
Platform/kext_inject.cpp
|
||||
Platform/kext_inject.h
|
||||
Platform/card_vlist.cpp
|
||||
Platform/PlatformDriverOverride.cpp
|
||||
Platform/Hibernate.cpp
|
||||
Platform/Hibernate.h
|
||||
Platform/Net.cpp
|
||||
Platform/sound.cpp
|
||||
Platform/StartupSound.cpp
|
||||
Platform/StartupSound.h
|
||||
|
@ -24,6 +24,8 @@ Revision History
|
||||
//#include "EfiShellLib.h"
|
||||
#include "Platform.h"
|
||||
#include "screen.h"
|
||||
#include "../Platform/cpu.h"
|
||||
#include "../Platform/StartupSound.h"
|
||||
|
||||
#define PRINT_STRING_LEN 1024
|
||||
#define PRINT_ITEM_BUFFER_LEN 100
|
||||
|
@ -439,10 +439,7 @@ VOID DebugPause(VOID);
|
||||
#else
|
||||
#define DebugPause()
|
||||
#endif
|
||||
VOID EndlessIdleLoop(VOID);
|
||||
|
||||
BOOLEAN CheckFatalError(IN EFI_STATUS Status, IN CONST CHAR16 *where);
|
||||
BOOLEAN CheckError(IN EFI_STATUS Status, IN CONST CHAR16 *where);
|
||||
|
||||
|
||||
#define BUILTIN_ICON_FUNC_ABOUT (0)
|
||||
@ -501,34 +498,39 @@ BOOLEAN CheckError(IN EFI_STATUS Status, IN CONST CHAR16 *where);
|
||||
#define ICON_FORMAT_ICNS (1)
|
||||
#define ICON_FORMAT_PNG (2)
|
||||
#define ICON_FORMAT_BMP (3)
|
||||
VOID ReinitVolumes(VOID);
|
||||
|
||||
BOOLEAN ReadAllKeyStrokes(VOID);
|
||||
|
||||
|
||||
#ifdef _cplusplus
|
||||
extern XObjArray<REFIT_VOLUME> Volumes;
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// config module
|
||||
//
|
||||
|
||||
extern REFIT_CONFIG GlobalConfig;
|
||||
|
||||
VOID ReadConfig(INTN What);
|
||||
//
|
||||
// BmLib
|
||||
//
|
||||
|
||||
extern BOOLEAN DumpVariable(CHAR16* Name, EFI_GUID* Guid, INTN DevicePathAt);
|
||||
#ifdef DUMP_KERNEL_KEXT_PATCHES
|
||||
// Utils functions
|
||||
VOID DumpKernelAndKextPatches(KERNEL_AND_KEXT_PATCHES *Patches);
|
||||
#endif
|
||||
//VOID FilterKextPatches(IN LOADER_ENTRY *Entry);
|
||||
|
||||
|
||||
#define KERNEL_MAX_SIZE 40000000
|
||||
|
||||
|
||||
|
||||
|
||||
VOID ReinitVolumes(VOID);
|
||||
|
||||
|
||||
VOID DbgHeader(CONST CHAR8 *str);
|
||||
|
||||
UINTN
|
||||
NodeParser (UINT8 *DevPath, UINTN PathSize, UINT8 Type);
|
||||
|
||||
#endif
|
||||
/*
|
||||
|
||||
EOF */
|
||||
|
@ -52,6 +52,22 @@
|
||||
#include "../Platform/Nvram.h"
|
||||
#include "../entry_scan/common.h"
|
||||
#include "../gui/shared_with_menu.h"
|
||||
#include "../Platform/platformdata.h"
|
||||
#include "../Platform/guid.h"
|
||||
#include "../Platform/APFS.h"
|
||||
#include "../Platform/cpu.h"
|
||||
#include "../Platform/smbios.h"
|
||||
#include "../Platform/AcpiPatcher.h"
|
||||
#include "../Platform/Hibernate.h"
|
||||
#include "../Platform/LegacyBoot.h"
|
||||
#include "../Platform/PlatformDriverOverride.h"
|
||||
#include "../Platform/Edid.h"
|
||||
#include "../Platform/Console.h"
|
||||
#include "../Platform/Net.h"
|
||||
#include "../Platform/spd.h"
|
||||
#include "../Platform/Injectors.h"
|
||||
#include "../Platform/StartupSound.h"
|
||||
#include "../Platform/BootOptions.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_MAIN 1
|
||||
@ -76,23 +92,11 @@
|
||||
|
||||
|
||||
// variables
|
||||
#ifdef FIRMWARE_REVISION
|
||||
//CONST CHAR16 gFirmwareRevisionM[] = FIRMWARE_REVISION;
|
||||
//CONST CHAR16 *gFirmwareRevision = &gFirmwareRevisionM[0];
|
||||
CONST CHAR16 *gFirmwareRevision = FIRMWARE_REVISION;
|
||||
|
||||
#else
|
||||
CONST CHAR16 *gFirmwareRevision = NULL;
|
||||
#endif
|
||||
|
||||
BOOLEAN gGuiIsReady = FALSE;
|
||||
BOOLEAN gThemeNeedInit = TRUE;
|
||||
BOOLEAN DoHibernateWake = FALSE;
|
||||
BOOLEAN APFSSupport = FALSE;
|
||||
|
||||
DRIVERS_FLAGS gDriversFlags; //the initializer is not needed for global variables
|
||||
|
||||
EMU_VARIABLE_CONTROL_PROTOCOL *gEmuVariableControl = NULL;
|
||||
|
||||
EFI_HANDLE ConsoleInHandle;
|
||||
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL* SimpleTextEx;
|
||||
@ -1703,30 +1707,6 @@ VOID SetVariablesFromNvram()
|
||||
|
||||
}
|
||||
|
||||
VOID ResetNvram ()
|
||||
{
|
||||
if (gFirmwareClover || gDriversFlags.EmuVariableLoaded) {
|
||||
if (gEmuVariableControl != NULL) {
|
||||
gEmuVariableControl->InstallEmulation(gEmuVariableControl);
|
||||
}
|
||||
}
|
||||
|
||||
ResetNativeNvram ();
|
||||
|
||||
if (gFirmwareClover || gDriversFlags.EmuVariableLoaded) {
|
||||
if (gEmuVariableControl != NULL) {
|
||||
gEmuVariableControl->UninstallEmulation(gEmuVariableControl);
|
||||
}
|
||||
}
|
||||
|
||||
// Attempt warm reboot
|
||||
// gRT->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, NULL);
|
||||
// Warm reboot may not be supported attempt cold reboot
|
||||
// gRT->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL);
|
||||
// Terminate the screen and just exit
|
||||
// TerminateScreen();
|
||||
}
|
||||
|
||||
extern UINTN nLanCards; // number of LAN cards
|
||||
extern UINT16 gLanVendor[4]; // their vendors
|
||||
extern UINT8 *gLanMmio[4]; // their MMIO regions
|
||||
@ -1774,77 +1754,6 @@ VOID SetOEMPath(CONST CHAR16 *ConfName)
|
||||
}
|
||||
}
|
||||
|
||||
/* S. Mitrofanov 08.06.2016
|
||||
* APFS Container introduced new partitions structure
|
||||
* Now we have, for example:
|
||||
* /dev/disk0 (internal, physical):
|
||||
* #: TYPE NAME SIZE IDENTIFIER
|
||||
* 0: GUID_partition_scheme *240.1 GB disk0
|
||||
* 1: EFI EFI 209.7 MB disk0s1
|
||||
* 2: Apple_APFS Container disk1 239.2 GB disk0s2
|
||||
* 3: Apple_KernelCoreDump 655.4 MB disk0s3
|
||||
*
|
||||
* /dev/disk1 (synthesized):
|
||||
* #: TYPE NAME SIZE IDENTIFIER
|
||||
* 0: APFS Container Scheme - +239.2 GB disk1
|
||||
* Physical Store disk0s2
|
||||
* 1: APFS Volume Macintosh SSD 170.8 GB disk1s1
|
||||
* 2: APFS Volume Preboot 17.9 MB disk1s2
|
||||
* 3: APFS Volume Recovery 521.1 MB disk1s3
|
||||
* 4: APFS Volume VM 1.1 GB disk1s4
|
||||
*/
|
||||
UINTN APFSUUIDBankCounter = 0;
|
||||
UINT8 *APFSUUIDBank = NULL;
|
||||
//Vednor APFS device path signature
|
||||
//BE74FCF7-0B7C-49F3-9147-01F4042E6842
|
||||
EFI_GUID APFSSignature = {0xBE74FCF7, 0x0B7C, 0x49F3, { 0x91, 0x47, 0x01, 0xf4, 0x04, 0x2E, 0x68, 0x42 }};
|
||||
|
||||
//Function for obtaining unique part id from APFS partition
|
||||
//IN DevicePath
|
||||
//Out: EFI_GUID
|
||||
//null if it is not APFS part
|
||||
EFI_GUID *APFSPartitionUUIDExtract(
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
|
||||
)
|
||||
{
|
||||
while (!IsDevicePathEndType(DevicePath) &&
|
||||
!(DevicePathType(DevicePath) == MEDIA_DEVICE_PATH && DevicePathSubType (DevicePath) == MEDIA_VENDOR_DP)) {
|
||||
DevicePath = NextDevicePathNode(DevicePath);
|
||||
}
|
||||
if (DevicePathType(DevicePath) == MEDIA_DEVICE_PATH && DevicePathSubType (DevicePath) == MEDIA_VENDOR_DP) {
|
||||
//Check that vendor-assigned GUID defines APFS Container Partition
|
||||
if (StriCmp(GuidLEToStr((EFI_GUID *)((UINT8 *)DevicePath+0x04)),GuidLEToStr(&APFSSignature)) == 0 ) {
|
||||
return (EFI_GUID *)((UINT8 *)DevicePath+0x14);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
UINT8 *APFSContainer_Support(VOID) {
|
||||
/*
|
||||
* S. Mtr 2017
|
||||
* APFS Container partition support
|
||||
* Gather System PartitionUniqueGUID
|
||||
* edit: 17.06.2017
|
||||
* Fiil UUIDBank only with APFS container UUIDs
|
||||
*/
|
||||
UINTN VolumeIndex;
|
||||
REFIT_VOLUME *Volume;
|
||||
EFI_GUID *TmpUUID = NULL;
|
||||
|
||||
//Fill APFSUUIDBank
|
||||
APFSUUIDBank = (__typeof__(APFSUUIDBank))AllocateZeroPool(0x10*Volumes.size());
|
||||
for (VolumeIndex = 0; VolumeIndex < Volumes.size(); VolumeIndex++) {
|
||||
Volume = &Volumes[VolumeIndex];
|
||||
//Check that current volume - apfs partition
|
||||
if ((TmpUUID = APFSPartitionUUIDExtract(Volume->DevicePath)) != NULL){
|
||||
CopyMem(APFSUUIDBank+APFSUUIDBankCounter*0x10,(UINT8 *)TmpUUID,0x10);
|
||||
APFSUUIDBankCounter++;
|
||||
}
|
||||
}
|
||||
return APFSUUIDBank;
|
||||
}
|
||||
|
||||
//System / Install / Recovery version filler
|
||||
CONST CHAR16 *SystemVersionPlist = L"\\System\\Library\\CoreServices\\SystemVersion.plist";
|
||||
CONST CHAR16 *ServerVersionPlist = L"\\System\\Library\\CoreServices\\ServerVersion.plist";
|
||||
|
@ -52,6 +52,9 @@
|
||||
#include "../libeg/XTheme.h"
|
||||
#include "../libeg/VectorGraphics.h" // for testSVG
|
||||
#include "../gui/shared_with_menu.h"
|
||||
#include "../Platform/platformdata.h"
|
||||
#include "../Platform/cpu.h"
|
||||
#include "../Platform/Nvram.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define DEBUG_MENU 1
|
||||
@ -127,14 +130,6 @@ REFIT_MENU_SCREEN AboutMenu(2, L"About"_XSW, L""_XSW);
|
||||
REFIT_MENU_SCREEN HelpMenu(3, L"Help"_XSW, L""_XSW);
|
||||
|
||||
|
||||
// input - tsc
|
||||
// output - milliseconds
|
||||
// the caller is responsible for t1 > t0
|
||||
UINT64 TimeDiff(UINT64 t0, UINT64 t1)
|
||||
{
|
||||
return DivU64x64Remainder((t1 - t0), DivU64x32(gCPUStructure.TSCFrequency, 1000), 0);
|
||||
}
|
||||
|
||||
|
||||
VOID FillInputs(BOOLEAN New)
|
||||
{
|
||||
|
@ -33,7 +33,13 @@ extern INTN LayoutMainMenuHeight;
|
||||
VOID OptionsMenu(OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
|
||||
VOID FreeScrollBar(VOID);
|
||||
|
||||
UINT64 TimeDiff(UINT64 t0, UINT64 t1); //double in Platform.h
|
||||
VOID
|
||||
FillInputs (
|
||||
BOOLEAN New
|
||||
);
|
||||
|
||||
VOID
|
||||
ApplyInputs (VOID);
|
||||
|
||||
|
||||
|
||||
|
@ -22,3 +22,5 @@ INTN HybridRepositioning(INTN Edge, INTN Value, INTN ImageDimension, INTN Screen
|
||||
INTN CalculateNudgePosition(INTN Position, INTN NudgeValue, INTN ImageDimension, INTN ScreenDimension);
|
||||
|
||||
|
||||
BOOLEAN CheckFatalError(IN EFI_STATUS Status, IN CONST CHAR16 *where);
|
||||
BOOLEAN CheckError(IN EFI_STATUS Status, IN CONST CHAR16 *where);
|
||||
|
Loading…
Reference in New Issue
Block a user