2357 Commits

Author SHA1 Message Date
Mike Beaton
7f08cc7c22
OcBootManagementLib: Add missing explicit initialisation of mImageLoaderCaps in OcImageLoaderLoad (#496)
Fix mentioned in changelog incorporates this and the previous commit
2023-10-30 12:30:52 +03:00
Mike Beaton
c6060b25bb OcBootManagementLib: Add guard for static mImageLoaderCaps 2023-10-29 14:34:49 +00:00
vit9696
5a7edbe321 OcGuardLib: Remove legacy code after BaseOverflowLib migration 2023-10-14 23:59:53 +03:00
Mike Beaton
36b2cea412 OcBootManagementLib: Fix incorrect handling of optional DataLength parameter
Introduced by 546aa5ba6415902ed05db02f8a5448c5e7ff67cf
2023-10-14 20:15:22 +01:00
Andrey1970
cfd127aefe DataBase: Updated builtin firmware versions 2023-09-27 22:22:07 +03:00
John Davis
bb44e89add
Implement legacy OS booting support (#482) 2023-09-07 20:00:30 -05:00
Mike Beaton
2bbda9de78 OcVariableLib: Add option to set bs-only var ShimLockGuid:ShimRetainProtocol
If set by bootloader chained from shim before further image is loaded, instructs
shim to keep its protocol and its security overrides (if enabled) present for all
image loads, not just the first.
2023-08-31 22:27:01 +01:00
John Davis
1d5b1736fe OcCpuLib: Fix previous commit 2023-08-28 18:30:43 -05:00
John Davis
fa08f7e7bf OcCpuLib: Fallback to DUET on AMD with invalid PM timer address 2023-08-28 18:23:55 -05:00
Mike Beaton
b71e159eee OcHiiDatabaseLib: Fix incorrect AllocateCopyPool size 2023-08-24 05:29:25 +01:00
vit9696
3a52965fb5 OcVariableRuntimeLib: Fix SectionGuid formatting, thx @Goldfish64 2023-08-22 08:12:28 +03:00
Mikhail Krichanov
5afed6eb16 Build: Fixed compilation after adding UE draft into AUDK master. 2023-07-20 10:20:16 +03:00
John Davis
de4b1d1b2b OcAcpiLib: Fix FadtEnableReset on nForce platforms
Use reset register 0x64 (keyboard controller) instead of 0xCF9.
2023-07-09 18:45:41 -05:00
John Davis
34496a047d OcCpuLib: Fix ACPI HOB size check 2023-07-09 10:28:41 -05:00
John Davis
fcc28d70c0 OcCpuLib: Get PM timer address from OpenDuet for non-Intel chipsets 2023-07-08 20:58:49 -05:00
Mikhail Krichanov
2495a7aacc OcCompressionLib: Fixed CLANGDWARF compilation after rebasing audk upon edk2-stable202305. 2023-07-07 12:23:36 +03:00
John Davis
dc5165b660 OcCpuLib: Fix incorrect core count and ACPI timer on Silvermont
Closes https://github.com/acidanthera/bugtracker/issues/2062 and https://github.com/acidanthera/bugtracker/issues/1643
2023-07-06 23:06:39 -05:00
PMheart
e68e3dfbad OcAppleKernelLib: Do not report AICPUPM patch error on macOS 13+ 2023-07-07 02:00:22 +02:00
Mike Beaton
546aa5ba64 OcBootManagementLib: Unify boot meta file loading code;
Optionally allow .contentVisibility in same boot fs root locations
as searched for .VolumeIcon.icns, since file next to boot.efi is
deleted on macOS update.
2023-07-04 01:23:42 +01:00
PMheart
5b7d4d0f2c
OcAppleKernelLib: Lapic patch cleanup (#477) 2023-07-02 01:38:18 +02:00
Mike Beaton
dc182df42c OcBootManagementLib: Add InstanceIdentifier, and ability to target .contentVisibility to specific instances 2023-06-23 19:54:33 +01:00
PMheart
d4bd64ccd7 OcAppleKernelLib: FixForceAquantiaEthernet patch by @Mieze
`__ZN30AppleEthernetAquantiaAqtion10718checkConfigSupportERiS0_` does not exist on macOS 10.15.4; dropping it makes the patch unique.
2023-06-22 18:22:54 +02:00
PMheart
b249bc702a OcAppleKernelLib: Fix codestyle 2023-06-22 17:43:52 +02:00
PMheart
e937869110 OcAppleKernelLib: FixForceAquantiaEthernet quirk on macOS 14 beta 2, thx @Shikumo
Ref: https://www.insanelymac.com/forum/topic/330614-marvell-aquantia-10-gb-ethernet-support-thread/?do=findComment&comment=2807006
2023-06-22 17:40:58 +02:00
John Davis
6d6948bc7b Fix codestyle 2023-06-17 12:06:29 -05:00
John Davis
e8367610c2 Fix codestyle 2023-06-17 12:04:00 -05:00
John Davis
c173a26843 OcAppleKernelLib: Fix kext blocker exclude under 32-bit 2023-06-17 11:57:38 -05:00
PMheart
b3d7e9f7ca Revert "OcAppleKernelLib: Minor typo"
This reverts commit 8955d758a5715bcaaffbaf23f39fe587ee73e790.

Uncrustify is mad at this. :-)
2023-06-14 16:53:14 +02:00
PMheart
8955d758a5 OcAppleKernelLib: Minor typo 2023-06-14 16:50:23 +02:00
PMheart
fb43d90309 OcAppleKernelLib: Better XhciPortLimit patch on macOS 11+ 2023-06-13 10:47:31 +02:00
PMheart
d52fc46ba6
OcAppleKernelLib: Integrate USB restriction patches (#471) 2023-06-12 16:19:53 +02:00
Mike Beaton
0ad4a318b0 OcConsoleLib: Provide ConsoleFont option
to load custom .hex format console font file
2023-06-11 05:48:55 +01:00
Andrey1970
408f000fc1 Updated builtin firmware versions 2023-06-10 22:39:26 +03:00
PMheart
4cc7ac246d OcAppleKernelLib: Fixed AppleXcpmForceBoost on macOS 14 2023-06-05 22:32:13 +02:00
vit9696
ab83b01d01 OcPciIo:ob" Cast to VOID for better future compatibility 2023-06-04 23:49:12 +03:00
Curi0
d84e9bbb27
OcPciIoLib: Add CpuIo/PciRootBridgeIo/PciIo fix for Aptio IV with Above 4G BARs (#459) 2023-06-04 23:05:33 +03:00
Mike Beaton
78cf64df83 OcBootManagementLib: Improve Save/RestoreMode 2023-05-20 00:42:48 +01:00
Mike Beaton
5f2c525cc2 OcConsoleLib: Change out-of-range cursor handling to work round bug(?) in memtest86
- memtest86 does not re-read the text mode size after changing GOP resolution.
 - Possibly this is an issue in OC, in that this should not normally change? (But it is
   fundamental to Builtin renderer handling of console resolution that it will change,
   unless a fixed user mode size is specified.)
 - The only effect of this in memtest86 is that it attempts to place the white footer
   line of its text UI below the bottom of the screen; so this clamping, which seems
   reasonable anyway, completely works round it.
2023-05-18 09:16:01 +01:00
Mike Beaton
3927ee7fe1 OcBootManagementLib: Save and restore text and graphics mode settings round tools and failed entries 2023-05-18 09:16:01 +01:00
Mike Beaton
0df9d12630 OcConsoleLib: Ignore UIScale when required to reach minimum 80x25 text mode size 2023-05-18 09:16:01 +01:00
Mike Beaton
8110c45981 OcBootManagementLib: Improve clipping of overlong menu entries
- Allow full width entries in wide modes
 - Support unusual small modes better, and about as well as possible
2023-05-18 09:16:01 +01:00
Mike Beaton
bc71bbf9ef OcConsoleLib: Add font pages
- Add back original ISO Latin font page 1
 - Add unicode box drawing and block element characters
2023-05-18 09:15:58 +01:00
Mike Beaton
5465c7b820 OcVariableLib: Downgrade additional WARN in expected operation of emulated NVRAM
https://github.com/acidanthera/bugtracker/issues/2206
2023-05-10 22:34:30 +01:00
Marvin Häuser
d9109c36f1 Properly distinguish between PeCoffLib2 vs UefiImageLib 2023-05-08 11:25:08 +02:00
Mike Beaton
1dbf710b8f OcVariableLib: Lower 'Emulated NVRAM load failed' message from WARN to INFO
since it is expected on first boot with new emulated NVRAM
2023-05-07 17:04:58 +01:00
Mike Beaton
5e75fec6d1 OcLog: Allowing positive and negative filtering of unknown log lines, using ? identifier 2023-05-07 16:54:51 +01:00
vit9696
d25ec52b22 OcCpuLib: Fix crash when gathering system report on virtualised CPUs
closes acidanthera/bugtracker#2270
2023-05-07 17:47:06 +03:00
Mike Beaton
47a3da4822 OcLog: Update filtering
- Filter log strings after formatting
 - Never filter WARN and ERROR log lines
 - Fix positive filtering
 - Fix minor issue in valid log prefix algorithm
2023-05-07 14:43:41 +01:00
Mike Beaton
0083a4ef15 OcBootManagementLib: Disable builtin picker timeout on unbootable selection from Apple picker; change from INFO to WARN if cannot start requested Apple picker 2023-05-07 09:25:51 +01:00
PMheart
020645b4a7
OcMainLib/OpenCoreAcpi: Fix orders for RebaseRegions and SyncTableIds (#454)
This fixes regression introduced by f604848c61.
2023-05-06 18:57:27 +02:00