1685 Commits

Author SHA1 Message Date
Download-Fritz
eb7a3eb863 OcFileLib: Work around invalid WP error 2020-10-30 20:59:26 +01:00
Andrey1970AppleLife
39c1e1cc8a DataBase: Updated builtin firmware versions 2020-10-30 03:28:41 +03:00
dakanji
ba5eea2de4
OcConsoleLib: Improve error reporting with TextoutputBuiltin (#143)
closes acidanthera/bugtracker#1238
2020-10-29 12:21:43 +03:00
Andrey1970AppleLife
3616f57e4b DataBase: Updated builtin firmware versions 2020-10-29 01:11:02 +03:00
Andrey1970AppleLife
1e8f75ee8d DataBase: Update MM71 2020-10-28 15:57:01 +03:00
John Davis
cde37269aa
VBIOS patching via ForceResolution option (#144)
* BiosVideo: Initial Intel patching functions

* BiosVideo: Implement patch protocol

* BiosVideo: Read EDID from VBE

* BiosVideo: Fix previous commits

* OpenDuet: Fix Windows builds

* BiosVideo: Fix MSVC warnings

* BiosVideo: Pull max resolution from EDID

* BiosVideo: Patch based on PCI vendor ID

* BiosVideo: Fix more MSVC warnings

* OcMiscLib: Try to fix OpenDuet MSVC compilation

* BiosVideo: Fix incorrect return status

* OpenDuet: Create OcDebugLogLibNull library

* Protocol: Rename OC_VBIOS_PATCH_PROTOCOL to OC_FORCE_RESOLUTION_PROTOCOL

* OpenCore: Add ForceResolution option

* BiosVideo: Fix consistency of height/width parameters

* Includes: Mark height/width as optional

* BiosVideo: Cleanup misc issues

* Docs: Add support note
2020-10-26 19:18:06 -05:00
Download-Fritz
72649849dd OcAppleKernelLib: Rebuild KC when no kexts are injected
Fixes an issue where __PRELINK_INFO (first segment) is relocated and thus renders relocations invalid (relative to the first segment's VA)
2020-10-25 14:15:01 +01:00
Download-Fritz
6ffd979500 OcAppleKernelLib: Fix invalid kremlin section 2020-10-25 14:15:01 +01:00
vit9696
595895eedf OcFileLib: Actually fix MSVC warnings 2020-10-25 14:48:13 +03:00
Download-Fritz
7732a7b6d2 OcAppleKernelLib: Zero trailing KC expansion 2020-10-25 12:43:36 +01:00
Vitaly Cheptsov
8e3b8f16e0
OcFileLib: Silence MSVC 2020-10-25 11:56:10 +03:00
vit9696
a0024b9ecc OcFileLib: Fixed I/O issues on platforms incapable of reading over 1MB 2020-10-25 04:15:23 +03:00
vit9696
a9af4abd09 OcBootManagementLib: Fixed ScanPolicy NVMe handling on MacPro5,1
closes acidanthera/bugtracker#1234
2020-10-24 19:51:07 +03:00
Goldfish64
a049687ed7 OcCpuLib: Add compatibility for Bonnell Atom CPUs 2020-10-20 18:07:21 -05:00
Download-Fritz
f10f29004a OcCpuLib: First-gen Atom does not support TURBO_RATIO_LIMIT MSR 2020-10-20 19:56:32 +02:00
Goldfish64
7adaaa15ee OcAppleKernelLib: Fix invalid return status handling 2020-10-18 18:36:23 -05:00
Goldfish64
0c99e037f5 OcMachoLib: Fix improper file offset cast in MachoExpandImage 2020-10-18 13:17:25 -05:00
John Davis
bf043cae2e
Custom memory properties (#139)
* OcSmbiosLib: Implement custom memory configurations

* OcSmbiosLib: Fix previous commit

* OcSmbiosLib: Change to 0-based indexes

* Docs: Update manual and sample configs
2020-10-17 17:33:37 -05:00
vit9696
5d332ce5e8 OcConsoleLib: Fixed assert when trying to enable direct renderer
Happened on blit-only GOP, see acidanthera/bugtracker#1221
2020-10-17 20:27:45 +03:00
vit9696
c8bf19dc80 OcAfterBootCompatLib: Increased slide allocation reserve to 200 MB
This is required for Big Sur b10, which kernel cache is much larger.
2020-10-16 01:31:42 +03:00
Andrey1970AppleLife
fd8c076a71 DataBase: Updated builtin firmware versions 2020-10-15 00:33:27 +03:00
Goldfish64
ff3984b2e6 OcAppleKernelLib: Fix previous commit 2020-10-13 21:05:35 -05:00
Goldfish64
1053e3843f OcCpuLib: Fix incorrect core/thread counts on Pentium M 2020-10-13 20:34:56 -05:00
Goldfish64
9ecb761836 OcAppleKernelLib: Fix CPUID patching on 10.4.10 and 10.4.11 2020-10-13 19:57:43 -05:00
dakanji
8c78acfea0
OcConsoleLib: Fix typo from the previous commit (#137) 2020-10-13 10:34:28 +03:00
John Davis
a380c5d840
OcSmbiosLib: Added support for multiple memory array tables (#134) 2020-10-13 01:43:38 +03:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
Goldfish64
6ca34fe0c2 OcSmbiosLib: Provide fallbacks for NULL memory SMBIOS strings 2020-10-10 09:27:41 -05:00
PMheart
3d3181dfb5
OcXmlLib: Add support for comments (#133)
closes cidanthera/bugtracker#1053
2020-10-08 10:16:39 +03:00
vit9696
61cc6f609e OcAppleKernelLib: Add memcpy/memmove support to legacy bcopy 2020-10-04 20:59:23 +03:00
vit9696
ecbed230e0 OcAppleKernelLib: Fix compilation (again) 2020-10-04 18:01:30 +03:00
vit9696
21fb96107e OcAppleKernelLib: Do not compile bcopy to avoid linker issues 2020-10-04 17:15:51 +03:00
vit9696
8a5342a4ea OcAppleKernelLib: Fix Windows compilation 2020-10-04 14:08:53 +03:00
vit9696
81c2818175 OcAppleKernelLib: Fix bcopy implementation for LegacyCommpage quirk 2020-10-04 13:52:48 +03:00
vit9696
8ee217afbc OcSerializeLib: Fix potential compiler warning 2020-10-04 07:06:23 +03:00
vit9696
1f37e9944e OcBootManagementLib: Fix external display for old SATA HDDs 2020-10-04 05:08:04 +03:00
vit9696
1d76ae6947 OcVirtualFsLib: Fix handling buggy programs passing NULL to FileOpen 2020-10-04 04:30:02 +03:00
Goldfish64
eb56315475 OcAppleKernelLib: Fix comments from previous commit 2020-10-03 19:51:51 -05:00
Goldfish64
f18a2a73c1 OcAppleKernelLib: Add LegacyCommpage quirk
Replaces default 64-bit commpage bcopy implementation with one that does not require SSSE3, required for legacy platforms without SSSE3. Resolves a "commpage no match for last" panic due to no available bcopy implementations.
2020-10-03 19:43:35 -05:00
PMheart
d5c140bfef
OcAppleKernelLib: Added MinKernel/MaxKernel to Emulate (#128)
Also, DummyPowerManagement, usually paired with CPUID spoofing, has been moved to Emulate section.
2020-10-03 13:10:24 +08:00
PMheart
e93624ab16
OcAppleKernelLib: Added ExtendBTFeatureFlags quirk (#126)
This quirk substitutes BT4LEContinuityFixup which actually fails to function properly due to late patching.
2020-10-02 11:31:03 +08:00
Goldfish64
1029e98ffc OcCpuLib: Add support for NetBurst models 2020-10-01 19:15:28 -05:00
John Davis
676ef93d9d
OcAppleKernelLib: Add 32-bit prelinking support (#122) 2020-09-29 12:41:37 +03:00
Alex James
266b709c12 OpenCorePlatform: Add SystemMemoryStatus option to Generic 2020-09-29 10:59:27 +03:00
vit9696
33c1bed2c1 OcBootManagementLib: Workaround displaying Preboot due to macOS 11 bug 2020-09-23 22:43:47 +03:00
coolhaxor
fdfdc7e0d8 OcMemoryLib: Implement Type for ReservedMemory 2020-09-23 22:30:33 +03:00
vit9696
ade47c42af OcHashServicesLib: Transliterate unicode into ascii
Unicode may cause issues with older misconfigured python versions
2020-09-19 14:18:23 +03:00
Download-Fritz
3dfcdd759b OcPeCoffLib: Tolerate gaps between sections 2020-09-18 12:24:08 +02:00
Andrey1970AppleLife
71952261a7 DataBase: Updated builtin firmware versions 2020-09-17 23:42:15 +03:00
John Davis
74062d4e0f
OcAppleKernelLib: Add 32-bit Mach-O and patching support (#118) 2020-09-13 22:57:10 +03:00