1714 Commits

Author SHA1 Message Date
Download-Fritz
b2bec0f340 OcBmLib: Revamp Bootstrap for compatibility reasons
- Support short-form paths to prevent boot entry duplication on broken UEFI firmwares.
- Support low boot entry indices to prevent purging on broken UEFI firmwares.
- Remove unused namespace BootProtect component.
2020-11-29 11:44:51 +01:00
Mike Beaton
e2ae931f35
OcStorageLib: Uninstall EfiDevicePathProtocol on OcStorageFree (#157) 2020-11-29 13:43:45 +03:00
vit9696
510376519f OcBootManagementLib: Fix deleting boot-args without value 2020-11-29 01:25:55 +03:00
dakanji
3be03979a8
OcPngLib: Use Standard OpenCore Function Name Format (#156) 2020-11-22 11:01:17 +03:00
Mykola Grymalyuk
1ae9bb0068 Add AMD 19h support 2020-11-15 21:20:51 -07:00
Vitaly Cheptsov
258fb83ec7
OcAfterBootCompatLib: Implement relocation block support (#153)
closes acidanthera/bugtracker#1125
2020-11-13 19:49:57 +03:00
vit9696
e8cc05f5c3 OcAfterBootCompatLib: Fixed EnableSafeModeSlide on macOS 11.0
closes acidanthera/bugtracker#1276
2020-11-12 21:31:30 +03:00
vit9696
13ec6ae95a OcAfterBootCompatLib: Drop legacy memory location trackers 2020-11-08 22:46:45 +03:00
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