1706 Commits

Author SHA1 Message Date
vit9696
6d0c49e84c OcMemoryLib: Allow overriding page allocator for allocate from top 2020-11-08 20:11:43 +03:00
John Davis
dd25126610
OcAcpiLib: Relocate ACPI tables if they are not writeable (#152) 2020-11-08 19:08:58 +03:00
vit9696
9a2c66969e OcAfterBootCompatLib: Fix MSVC compiler moaning 2020-11-08 05:03:50 +03:00
vit9696
05dc52acd2 OcAfterBootCompatLib: Start using call gate for kernel interception 2020-11-08 04:30:58 +03:00
Andrey1970AppleLife
1bfcb254da DataBase: Updated builtin firmware versions for T2 models 2020-11-07 17:14:16 +03:00
vit9696
8be51674a4 OcBootManagementLib: Implement RealPath and TextMode for custom entries
closes acidanthera/bugtracker#1081
2020-11-07 05:47:45 +03:00
Andrey1970AppleLife
bbcdad2f54 DataBase: Updated builtin firmware versions for non-T2 models 2020-11-07 02:59:04 +03:00
Andrey1970AppleLife
e1b6e96b33 DataBase: Revert firmware version for non-BigSur models 2020-11-07 01:29:02 +03:00
vit9696
1b280f88d7 OcGuardLib: Avoid undefined reference to 64-bit mul builtin on IA-32 2020-11-06 23:59:15 +03:00
vit9696
59825b3b0c Docs: improve relative directory lookup documentation
Also fix compiler issues with GCC
2020-11-06 23:21:44 +03:00
vit9696
03b5d34c04 OcGuardLib: Rely on LTO and avoid confusing macro usage 2020-11-06 22:34:40 +03:00
vit9696
46482050c9 Bootstrap: Add support for launching from relative path 2020-11-06 19:37:22 +03:00
Goldfish64
b9e08ba44b OcAppleKernelLib: Fix patching of injected kexts in mkext 2020-11-05 19:54:13 -06:00
vit9696
3998399ea9 OcBootManagementLib: Added BlacklistAppleUpdate to fix update optout
closes acidanthera/bugtraker#1255
2020-11-04 12:30:27 +03:00
Goldfish64
a31de22943 OcAcpiLib: Add ACPI signature log printing 2020-11-02 19:13:16 -06:00
zhen-zen
811f4a064e
OcMiscLib: Fix FindPattern on last byte of data (#148) 2020-11-02 06:47:27 +08:00
vit9696
1b7525c7de OcAppleKernelLib: Added ForceSecureBootScheme quirk for VMs 2020-11-01 13:30:55 +03:00
vit9696
bf94146f13 OpenCorePlatform: Added setting of system-id NVRAM variable 2020-11-01 12:52:51 +03:00
vit9696
aea1c578c2 Docs: Update information regarding Secure Boot on macOS 11
closes acidanthera/bugtracker#1235
2020-11-01 05:09:37 +03:00
vit9696
1b0041493d OcAppleImg4Lib: Added missing Secure Boot NVRAM variables for 11.0 2020-11-01 04:00:38 +03:00
vit9696
ba10b5d721 OcAppleImg4Lib: Added support for x86legacy secure boot model 2020-11-01 01:12:02 +03:00
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