4738 Commits

Author SHA1 Message Date
Mikhail Krichanov
c65fb5bbfd Library: Fixed ImageOrigin types. 2023-11-24 09:42:11 +03:00
Mikhail Krichanov
8c3970100d Build: Allowed loading of user images with < 4KBi alignment. 2023-11-23 22:42:36 +03:00
Mikhail Krichanov
43c4931957 User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
9cdf82aea0 Build: Returned PE32 format for UEFI_DRIVER.BINARY to support third party drivers. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
352a921a7f EfiLdr: Made boot loader support only UE format. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
644fc2a104 Build: Shrank FV size. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
d076d2260b .gitignore subsidiary files. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
9c6986f146 Build: Switched OpenDuet to UE format. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
304a0b77c2 EfiLdr: Consumed UefiImageLib. 2023-11-23 14:04:16 +03:00
Mikhail Krichanov
a5d613837b User: Changed PcdUefiImageFormatSupportFv to fix audk uefi-format branch compilation. 2023-11-23 14:02:07 +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
750156a155 Docs: Fix typo 2023-11-19 19:17:32 +00:00
Mike Beaton
9a9cede29d Docs: Update FixupAppleEfiImages docs 2023-11-19 18:59:36 +00:00
Mike Beaton
941b7c535d AppleEfiSignTool: Update error message 2023-11-19 18:57:31 +00: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
3666a237ae Build: Switch to DISCARD_SUBMODULES 2023-11-16 23:03:41 +03:00
Mike Beaton
87da1b1329
Utilities/OcPeCoffExtLib: Update AppleEfiSignTool to work with new PE COFF loader (#502) 2023-11-15 11:30:05 +00:00
Mike Beton
c0179d3cbf LegacyBoot: Add ARCHS and command line args support to QemuBuild.command 2023-11-12 09:03:09 +00:00
Andrey1970
9215e5c28a DataBase: Updated builtin firmware versions 2023-11-12 01:43:11 +03:00
Mike Beaton
d38ef6c033 Changelog: Improved wording 2023-11-09 09:21:08 +00:00
Mike Beaton
c73b3e8f9b Docker: Add missing file command for CRLF checks 2023-11-08 15:57:26 +00:00
Mike Beaton
f225bdaf67 Changelog: Improved wording 2023-11-08 13:46:27 +00:00
Mike Beaton
8d002d7e83 User: Set PcdDebugRaisePropertyMask default value to zero
- Matches recent fix in dbebb53c11
 - Correct usage is for bits here to only ever be manually enabled for specific debugging tasks
2023-11-08 09:27:12 +00:00
Mike Beaton
6d94380499 User: Set PcdImageLoaderRemoveXForWX to TRUE
- Matches value used in OpenCore
 - Allows AppleEfiSignTool to work with W^X error legacy Apple images
Futher work required for AppleEfiSignTool to work with section overlap error images.
2023-11-08 07:26:09 +00: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
Andrey1970AppleLife
11a33b44ea Update Changelog.md 2023-11-06 21:54:22 +03:00
Andrey1970AppleLife
98e36b87fa Bump version 2023-11-06 21:49:32 +03:00
Andrey1970
8122eac71b
Updated CI badge link 2023-11-06 21:13:47 +03:00
Andrey1970
0be494090c
Update recovery_urls.txt 2023-11-06 21:06:34 +03:00
Angelo Cassano
197618d4c0
macrecovery: Updated recovery_urls.txt (#492) 2023-11-06 20:59:26 +03:00
vit9696
1bc9e74ed1 Docs: Update pdf 0.9.6 2023-11-03 11:08:37 +03:00
Mike Beaton
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk (#498) 2023-11-03 11:06:56 +03:00
John Davis
dd5b954f0c Docs: Enable serial debug patches on IA32 and x64 2023-11-01 19:35:52 -05: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
Mike Beaton
909008c987 Debug: Fix imperative style 2023-10-28 19:25:09 +01:00
Mike Beaton
2974a73557 Debug: Achieve parity between GDB and LLDB on 32/64
- UEFI symbols loaded
 - Cannot see stack properly
 - Cannot see local variables properly
 - Can do some successful stepping around in the code
2023-10-28 18:55:53 +01:00
Mike Beaton
ae81e440f0 Debug: Add working 32 on 32 LLDB VSCode config 2023-10-28 11:39:30 +01:00
Mike Beaton
93c5cb7b81 Debug: Add support for 32-bit on 32-bit under LLDB
Also includes not-quite-working 32-bit on 64-bit LLDB support
2023-10-28 11:39:27 +01:00
Mike Beton
763b0ea7ef Debug: Add working 32 on 32 GDB VS Code config 2023-10-26 23:58:13 +01:00
Mike Beaton
4d2fed90ad
Debug: Add support for 32-bit on 32-bit under GDB (#493)
In addition to existing support for 32-bit on 64-bit
2023-10-27 00:44:19 +03: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