4948 Commits

Author SHA1 Message Date
vit9696
835137c13d Utilities: Workaround shellcheck false positive 2025-08-09 19:27:09 +03:00
vit9696
7f8c15afb1 Docs: Add AppleIntel8254XEthernet sample patch for macOS 10.4 in QEMU
Prior to macOS 10.5 the logic used to interpret PHY status was wrong.
AppleIntel8254XEthernet checks PHY Specific Status register for bit 3
(Transmit Pause Enabled) presence instead of bit 10 (Link).

This patch forces PHY Specific Status register 0xac08, which means
always up.
2025-08-09 18:28:17 +03:00
vit9696
d1ebfea100 OcAfterBootCompatLib: Add some more debugging & info on Booter quirks 2025-08-07 01:38:19 +03:00
vit9696
2bc82850d1 Git: Improve LegacyBoot ignore files 2025-08-07 01:36:34 +03:00
vit9696
eca9d6b156 OcStorageLib: Increased OC_STORAGE_SAFE_PATH_MAX to 192
This is needed to Force inject longer kexts, e.g. networking:
System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/
AppleIntel8254XEthernet.kext/Contents/MacOS/AppleIntel8254XEthernet
2025-08-07 01:36:34 +03:00
vit9696
ebb55d7eee Utilities/LegacyBoot: Added EFI mode to QemuBuild.command 2025-08-07 01:36:34 +03:00
vit9696
9b92b5945f Library/OcAcpiLib: Enable RSDT/RSDP/XSDT address printing in INFO
This is useful to debug RSDP lookup failure in operating systems,
especially macOS 10.4, which needs RSDP in low memory.
2025-08-07 01:36:34 +03:00
Mike Beaton
4891b78f26 Docs: OpenVariableRuntime: Improve wording for what is included in OpenDuet
OpenDuet includes unmodified VariableRuntimeDxe. OpenVariableRuntimeDxe
is a slightly modified variant of that (see comments in header of VariableDxe.c).
2025-08-02 22:25:14 +01:00
Mike Beaton
1312e2b298 OpenVariableRuntime: Sync header comment in VariableDxe.c with code changes 2025-08-02 22:20:52 +01:00
vit9696
0195da09a1 Misc: change __FUNCTION__ to __func__ as per upstream EDK II 2025-08-03 00:02:15 +03:00
vit9696
aecd8ec66b Docs: Publish erratum for acidanthera/bugtracker#2507 2025-08-02 23:11:36 +03:00
Vitaly Cheptsov
a46a4dd7d2
Docs: Sync changelog 2025-08-02 23:05:50 +03:00
hg13
a5715fcedc
OcAppleKernelLib: Add fallback CPUFrequency in ProvideCpuInfo (#578) 2025-08-02 13:30:25 +03:00
Andrey1970
e04b9e2292 Bump version 2025-07-13 18:41:18 +03:00
Andrey1970
e8437f7377 DataBase: Updated builtin firmware versions 1.0.5 2025-06-14 20:06:04 +03:00
Andrey1970
9582ff49ed DataBase: Updated MaximumOSVersion 2025-06-14 18:23:19 +03:00
Andrey1970
46cc8bd0ab
Fixed previous 2025-06-14 17:00:09 +03:00
Andrey1970
f03819e6c8
Update link 2025-06-14 16:51:09 +03:00
Andrey1970
7845b89f33
Update recovery_urls.txt 2025-06-14 16:39:00 +03:00
Andrey1970
9ebc8bfc64 Update Kexts.md 2025-06-14 15:35:30 +03:00
Vitaly Cheptsov
15cdd85332
Docs: Sync changelog 2025-06-12 21:14:36 +03:00
Marvin Häuser
164696d1dc OcMachoLib: Resolve indirect symbol ambiguity
Mach-O uses "indirect symbol" ambiguously. The first kind are "indirect
symbols" indicated by their type. They are located in the regular symbol
table, possibly outside the local, external and undefined ranges. Their
value is an index into the string table, which indicates the name of
another symbol they alias. We assume these to only be used by KPIs,
mostly as symbol aliases for deprecated symbol names.

The second kind is the "indirect symbol table", which is merely a flat
list of 32-bit indices into the symbol table.

When the handling code was written, the incorrect assumption was made
that the "indirect symbol table" is a range of "indirect symbols", much
like how local, external and undefined symbols are explicitly indexed.
However, this is not true and causes bugs in handling indirect symbols.

This patch drops this incorrect (and dangerous) assumption and strictly
separates the two concepts. As OpenCore does not inject KPIs, ignore
indirect symbols entirely.
2025-06-12 12:13:55 +02:00
Mike Beaton
7f1f28322f Docs: Sync changelog 2025-06-05 11:30:26 +01:00
CorpNewt
68e73f804c
ocvalidate: Fix error messages for overlong kext paths in Kernel section
Prevent unsigned integer overflow in messages shown for ExecutablePath and PlistPath, if BundlePath has already exceeded safe length.

Fix off-by-one error in displayed "should not exceed" value.

Note: Neither change affects which inputs are errors, they rather fix the displayed messages when errors are found.
2025-06-05 11:28:33 +01:00
Mike Beaton
8fa9a1035b Utilities: Silence additional zlib warning triggered by update to brew mingw-w64
Refactor to remove some duplication in zlib warning code.
2025-06-04 17:25:49 +01:00
John Davis
0e45c622e2 Fix incorrect print in PCI device info dumping in SysReport
Fixes https://github.com/acidanthera/bugtracker/issues/2486
2025-04-29 20:42:30 -05:00
Mikhail Krichanov
be0f2253f6 Build: Fixed compilation after rebasing audk upon edk2-stable-202502 tag. 2025-04-09 11:07:33 +03:00
Andrey1970
fd92fe7594 Docs: Disabled patch 2025-04-09 00:01:03 +03:00
vit9696
b68f91c923 Docs: Add Bluetooth disable patch useful to entirely disable bt stack 2025-04-04 21:19:00 +03:00
Savva Mitrofanov
8d3b5f23fb Build: Add drivers for QEMU virtio devices into build
These drivers are required for the devices (PCI, network, etc.) while we
booting OpenDuet inside QEMU emulator with seabios.
2025-03-10 21:26:41 +03:00
Savva Mitrofanov
dc1812a930 Docs: Update samples
Add OpenNetworkBoot driver
2025-03-05 20:35:05 +03:00
Andrey1970
bae9a92b1b Bump version 2025-03-04 16:51:02 +03:00
John Davis
ceb0e8d733 OcDeviceMiscLib: Add PCI class names to PCI info dumping 1.0.4 2025-02-26 21:43:22 -06:00
John Davis
f4e7e29335 AcpiSamples: Adjust Hyper-V SSDTs
Remove SSDT-HV-DEV-WS2022.dsl and remove ACPI0007 objects from SSDH-HV-DEV.dsl
2025-02-25 20:13:01 -06:00
Mikhail Krichanov
35d9b3706f User: Fixed compilation for Ia32 toolchains. 2025-02-25 13:31:59 +03:00
Mikhail Krichanov
5b2f8b5bc8 User: Added TdProbe.o to fix audk BaseTools compilation after rebasing
upon edk2-stable202502 tag.
2025-02-25 12:40:04 +03:00
John Davis
7044d6b845 OcAppleKernelLib: Fix ProvideCurrentCpuInfo and CPUID patching on older 10.4 versions 2025-02-23 12:57:12 -06:00
John Davis
ddb0bc71f8 Docs: Rebuild Configuration.pdf 2025-02-23 11:04:00 -06:00
John Davis
c5f89dddee Docs: Update Configuration copyright 2025-02-23 11:00:26 -06:00
John Davis
9b82bc0b29 Docs: Fix broken links to Apple sources in Configuration 2025-02-23 11:00:09 -06:00
John Davis
17fc455789 Update changelog 2025-02-23 10:56:35 -06:00
John Davis
45f8ba2cd2
Add ClearTaskSwitchBit booter quirk (#573)
This quirk is needed to boot macOS 10.7 and older when using a 32-bit kernel on a 64-bit UEFI firmware that makes uses of FPU or SSE instructions in runtime services (such as Hyper-V).
2025-02-23 10:51:40 -06:00
Mike Beaton
24246c6d0c
Build: Remove out-of-support Xcode project file (#572)
Removing this as it hasn't been updated for four years, so is way out of
date and does not build. Not changing any docs as it was never mentioned
in any docs.
2025-01-24 14:42:58 +03:00
Andrey1970
5026eb27bb
Update Kexts.md 2024-12-30 22:28:13 +03:00
Andrey1970
a3829649a9
Update Kexts.md 2024-12-30 22:27:05 +03:00
Mike Beaton
f4b7065067 Docs: Document that all available GOP resolutions are listed in debug log when Resolution is set to Max 2024-12-29 04:35:27 +00:00
Mike Beaton
5a61796b51 AudioDxe: Downgrade log level from DEBUG_WARN to DEBUG_INFO for EFI_ALREADY_STARTED 2024-12-29 04:13:24 +00:00
Vitaly Cheptsov
1eb545e15c
Docs: Sync changelog 2024-12-29 01:32:37 +03:00
Pedro Tôrres
4920897e06
OcCpuLib: Read MSR_IA32_TSC_ADJUST only if CPU supports it (#571) 2024-12-29 01:31:00 +03:00
Mike Beaton
07e61bf975 OpenNetworkBoot: Improve NVRAM handling
- Avoid potentially leaving one boot where BOOTSERVICE_ACCESS variable
   can be written by OS
 - Remove incorrect implication that OpenCore's NVRAM reset will clear
   static4 settings
2024-12-28 14:09:06 +00:00