Mikhail Krichanov
c65fb5bbfd
Library: Fixed ImageOrigin types.
2023-11-24 09:42:11 +03:00
Mikhail Krichanov
43c4931957
User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API.
2023-11-23 14:04:16 +03:00
Mike Beaton
b5984a3d30
OcPeCoffExtLib: Add code path to OcPeCoffFixupInitializeContext which generates fixed image context without fixing image in memory
...
- Required to allow AppleEfiSignTool to verify rare (but actually existing) Apple signed binaries with overlapping section errors
2023-11-20 11:52:03 +00:00
John Davis
be646fa83c
OcAppleKernelLib: Fix codestyle
2023-11-19 17:48:45 -06:00
John Davis
1a26c99b76
OcAppleKernelLib: Fix 10.6 cache size patch getting applied on 10.5
2023-11-19 17:44:20 -06:00
Mike Beaton
11c45d89d9
OcBootManagementLib: In order to detect files such as signed apfs.efi,
...
test for sutiability for fixup for all loaded images, not just boot image
2023-11-19 14:43:56 +00:00
John Davis
dc7927d981
OcAppleKernelLib: Fix coverity
2023-11-18 22:27:42 -06:00
John Davis
c899f746b3
OcAppleKernelLib: Fix Windows builds
2023-11-18 22:24:27 -06:00
John Davis
30d6d89692
OcAppleKernelLib: Add leaf 0x2 cache sizes to ProvideCurrentCpuInfo
2023-11-18 19:24:24 -06:00
Mike Beaton
d1e1fe7cd2
OcBootManagementLib: Trigger FixupAppleEfiImages quirk on default Apple boot path as well
...
- Allows for very early Mac OS X 32-bit images which are neither signed nor in a fat binary
2023-11-18 19:46:14 +00:00
Mike Beaton
125d8e8df3
OcBootManagementLib: Store ImageLoaderCaps in protocol ( #504 )
2023-11-18 19:42:20 +00:00
Mike Beaton
87da1b1329
Utilities/OcPeCoffExtLib: Update AppleEfiSignTool to work with new PE COFF loader ( #502 )
2023-11-15 11:30:05 +00:00
Andrey1970
9215e5c28a
DataBase: Updated builtin firmware versions
2023-11-12 01:43:11 +03:00
Mike Beaton
9d05c7f5ae
OpenDuet/OcBootManagementLib: Disable W^X auto-fix in Duet, and move fix for all Apple images to FixupAppleEfiImages quirk
...
Duet then matches behaviour of OVMF, and quirk can be used in both Duet and OVMF to load legacy Apple images.
2023-11-08 07:21:40 +00:00
Mike Beaton
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk ( #498 )
2023-11-03 11:06:56 +03:00
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