27 Commits

Author SHA1 Message Date
John Davis
b8d552f1c8
OCAB: Implement Mac OS X 10.4/10.5 relocation block support (#373) 2022-07-24 12:27:06 +02:00
PMheart
f604848c61
OcMainLib: Patch order change (#370)
The current behaviors of how our modification to Booter and Kernel are undocumented. In addition, we should ensure that:

- Deletion is always performed first, as it makes no sense to patch something that will be removed
- Integrated quirks are always applied preceding user patches (to prevent users from messing up the whole patch structure)
- Injection is performed last
2022-07-16 19:49:20 +02:00
Marvin Häuser
714fc69f96 OcAfterBootCompatLib: Add new KCG patch logging 2022-06-13 14:53:11 +02:00
Marvin Häuser
c4792bb6aa OcAfterBootCompatLib: Remove dead code 2022-06-13 14:53:11 +02:00
Marvin Häuser
e05a69da64 OcAfterBootCompatLib: Always use OC image loader for EfiBootRt 2022-06-12 10:35:39 +02:00
Marvin Häuser
6c641b7a4e OcAfterBootCompatLib: Support AvoidRuntimeDefrag for macOS 13 DP1
macOS 13 Developer Beta 1 introduced a new driver, bootrt.efi, which
now carries the kernel call gate. It communicates with efiboot via an
info buffer passed via LoadOptions. Patch it on load with our hook to
run our kernel entry code.
2022-06-11 12:30:20 +02:00
Marvin Häuser
f8aab62e97 OcAfterBootCompatLib: Extend AllocRelocationBlock support
The current relocation code is only supported in conjunction with
ProvideCustomSlide. Add support for disabled ProvideCustomSlide and
slide=0 in boot-args.
2022-06-11 12:30:20 +02:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
4c995bb1ba
OcDebugLogLib: Split into OcLogAggregatorLib and OcDebugLibProtocol (#325) 2022-03-02 15:04:20 +03:00
MikeBeaton
4f214ab1e5 AudioDxe:
- Fix broken in-OS sound in Windows after AudioDxe with some firmware (closes https://github.com/acidanthera/bugtracker/issues/1909)
 - Add Pcds for some AudioDxe code
 - Other minor updates
OcDebugLogLib:
 - Add DebugPrintDevicePathForHandle
2022-01-02 08:53:17 +00:00
vit9696
e70048cc76 OcDeviceMiscLib: Implement PCI RBAR configuration support 2021-10-11 04:53:03 +03:00
Marvin Häuser
6b27ad1be4 Add missing new-lines to error output 2021-07-16 18:48:59 +02:00
vit9696
20aebce6b1 OcAfterBootCompatLib: Fixed non-RT SetVirtualAddressMap for non-macOS 2021-01-28 03:17:41 +03:00
PMheart
8a0323c6be
OcAfterBootCompatLib: Implement booter patch (#165) 2020-12-05 23:30:29 +08:00
Vitaly Cheptsov
258fb83ec7
OcAfterBootCompatLib: Implement relocation block support (#153)
closes acidanthera/bugtracker#1125
2020-11-13 19:49:57 +03:00
vit9696
13ec6ae95a OcAfterBootCompatLib: Drop legacy memory location trackers 2020-11-08 22:46:45 +03:00
vit9696
05dc52acd2 OcAfterBootCompatLib: Start using call gate for kernel interception 2020-11-08 04:30:58 +03:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
vit9696
29d5b9d781 OcAfterBootCompatLib: Fix VMware compatibility with Apple Secure Boot 2020-08-30 17:59:28 +03:00
vit9696
b5c74d3e62 OcBootManagementLib: Add some callback stubs for image loader 2020-08-29 10:45:17 +03:00
Goldfish64
1ecceb0068 OpenCoreKernel: Implement 32-bit switching based on boot args 2020-08-22 16:53:00 -05:00
vit9696
50abfc2f28 OcMemoryLib: Fix typo 2020-07-17 02:39:44 +03:00
vit9696
86a49fb2f3 OpenRuntime: Replaced RequestBootVarFallback with DeduplicateBootOrder due to bugs 2020-05-13 16:07:37 +03:00
vit9696
796765ca7c
OcBootManagementLib: Rework boot management (#42)
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Download-Fritz <download-fritz@outlook.com>
2020-05-05 19:45:32 +03:00
vit9696
5fc0905af9 OcAfterBootCompatLib: Create events with TPL_CALLBACK priority
Logging may save to file, and file services must be invoked with TPL
lower or equal to TPL_CALLBACK. Failing to do so causes OVMF crash.

closes acidanthera/bugtracker#831
2020-04-17 09:39:32 +03:00
vit9696
99b002b391 OcAppleBootCompatLib: Fix event closing 2020-04-12 08:42:51 +03:00
vit9696
6a86ea2148 OcAfterBootCompatLib: Renamed from OcAppleBootCompatLib 2020-04-04 23:41:51 +03:00