72 Commits

Author SHA1 Message Date
Mike Beaton
cde43cd3c1 OpenNetworkBoot: Add PXE and HTTP(S) Boot support 2024-11-30 18:40:21 +00:00
Vitaly Cheptsov
4b3b0cb1d7
OcBootManagementLib: Add Apple DP expansion for VirtIO BLK (#561)
Apparently macOS strips down HD nodes from VirtIO BLK devices
leaving them "infix" shortened, i.e. PCI/APFS instead of
PCI/HD/APFS.
2024-10-07 17:44:08 +03:00
Mike Beaton
184f3e0b54
OcBootManagementLib: Convert naming from External System Boot to Unmanaged Boot (#552) 2024-10-06 10:30:31 +03:00
Mike Beaton
125d8e8df3
OcBootManagementLib: Store ImageLoaderCaps in protocol (#504) 2023-11-18 19:42:20 +00:00
Mike Beaton
36b2cea412 OcBootManagementLib: Fix incorrect handling of optional DataLength parameter
Introduced by 546aa5ba6415902ed05db02f8a5448c5e7ff67cf
2023-10-14 20:15:22 +01:00
John Davis
bb44e89add
Implement legacy OS booting support (#482) 2023-09-07 20:00:30 -05: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
Mike Beaton
dc182df42c OcBootManagementLib: Add InstanceIdentifier, and ability to target .contentVisibility to specific instances 2023-06-23 19:54:33 +01:00
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
vit9696
7b7d6ea756 OcBootManagementLib: Add .contentVisibility file
This replaces OpenCore signature checking with .contentVisibility file
containing either `Disabled` or `Auxiliary` to hide entries from the
boot picker.
2022-12-25 20:04:40 +03:00
Mike Beaton
a653620c33 OcBootManagementLib: Enable Apple picker on non-EFI graphics cards 2022-11-23 00:53:23 +00:00
Marvin Häuser
e8ce607364 OcBootManagementLib: Fix incorrect recovery path in comment 2022-11-01 15:31:51 +01:00
MikeBeaton
b3f2033d20 OcBootManagementLib: Rename DisableFirmwareRuntime option to FullNvramAccess 2022-08-05 08:55:45 +01:00
MikeBeaton
fa7477066c OcBootManagementLib: Add DisableFirmwareRuntime option for Tools 2022-08-04 22:49:42 +01:00
MikeBeaton
83123452fe OCVAR: Refactor NVRAM code, add OpenVariableRuntimeDxe 2022-07-28 06:38:56 +01:00
MikeBeaton
622aa07c21 OcBootManagementLib: Avoid unecessary warnings on hidden auxiliary entries, specifically warn on invalid device path 2022-07-20 08:03:28 +01:00
MikeBeaton
510fc28401 OcBootManagementLib: Add missing LF 2022-07-20 07:06:35 +01:00
MikeBeaton
d9e57c0e82 OcBootManagementLib: Report unsupported etc. custom entries 2022-07-15 12:21:32 +01:00
MikeBeaton
19ef39ecf5 BootEntryProtocol: Add system action and hotkey support; implement Reset NVRAM and Toggle SIP as drivers 2022-05-16 22:23:49 +01:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikeBeaton
43137cc277 OpenLinuxBoot: Updates:
- Add support for .contentFlavour and .contentDetails
- Add LINUX_BOOT_ADD_RW flag
- Add flags+= and flags-=
- Fixed entry name disambiguation when LINUX_BOOT_USE_LATEST is unset
2022-01-21 15:54:42 +00:00
MikeBeaton
5b89dd5b70 OcBootManagementLib: Set IsExternal from FileSystem->External in custom entries; required for BootEntryProtocol. 2021-10-08 10:25:23 +01:00
MikeBeaton
c20928ff9e OpenLinuxBoot: Fix version compare, add debug verbose 2021-09-11 00:21:01 +01:00
MikeBeaton
f121677f66 BootEntryProtocol: Fix NULL deref bug 2021-09-06 10:39:41 +01:00
MikeBeaton
aa1e19bebb BootEntryProtocol: Improve logic for detecting default entry when no menu shown 2021-09-05 19:38:45 +01:00
MikeBeaton
987b63726f OpenLinuxBoot: Fix regression of Linux detection on OVMF 2021-09-05 11:16:37 +01:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
dakanji
dee3ff5ef5
OcFileLib: Standardise Function Names (#287) 2021-08-31 10:33:34 +03:00
vit9696
3ef3e17a3e OcBootManagementLib: Fixed CLANGPDB builds by shortening OC magic 2021-07-25 20:39:57 +03:00
MikeBeaton
5a7ea942f5 Pickers: Fix regression bug #1654 2021-05-29 00:10:36 +01:00
MikeBeaton
eb5cc3ee62 BootManagement: Add csrutil EFI tool and Toogle SIP boot option 2021-05-28 09:40:22 +01:00
Mike Beaton
e9ce0d843f
OcBootManagementLib: Implement Boot Entry Flavour system (#260) 2021-05-19 14:30:42 +03:00
MikeBeaton
77e26141e2 HotKeys: Improve allocation/deallocation logic and timing 2021-03-23 21:52:32 +00:00
MikeBeaton
e69e28cb69 BootPickers: Apple Event kb handling + typing; Apple Key Map non-repeat key handling; CTRL indicator in Builtin. 2021-03-23 12:26:46 +00:00
Marvin Häuser
8a514aa757 OcBootManagementLib: Support default custom entries 2021-03-04 22:42:21 +03:00
cecekpawon
04c928023e OcBootManagementLib: Correct BootContext allocation size. 2021-02-06 18:51:55 +03:00
vit9696
d3ada7c006 OcBootManagementLib: Fix missing file close 2020-12-15 15:54:46 +03:00
Download-Fritz
27dcb28327
OcBootManagementLib: Support reordering Bootstrap by the FW (#164) 2020-12-03 03:11:21 +03:00
vit9696
8be51674a4 OcBootManagementLib: Implement RealPath and TextMode for custom entries
closes acidanthera/bugtracker#1081
2020-11-07 05:47:45 +03:00
vit9696
3998399ea9 OcBootManagementLib: Added BlacklistAppleUpdate to fix update optout
closes acidanthera/bugtraker#1255
2020-11-04 12:30:27 +03:00
vit9696
1f37e9944e OcBootManagementLib: Fix external display for old SATA HDDs 2020-10-04 05:08:04 +03:00
vit9696
acd769a557 OcBootManagementLib: Fix recovery-boot-mode handling 2020-08-31 16:37:57 +03:00
Download-Fritz
a97b74e83c
OpenCore: Use direct PE loading for Secure Boot (#108)
Implement and integrate a PE image loader to circumvent UEFI Secure Boot when Apple Secure Boot is used.
2020-08-24 12:52:34 +02:00
vit9696
47a341f80d OcBootManagementLib: Fallback to boot.efi when dmg loading is disabled 2020-08-20 20:33:22 +03:00
vit9696
4d7d8268ff
OcDevicePathLib: Fix matching disk controllers with legacy OPROM (#95)
closes acidanthera/bugtracker#991
2020-08-09 08:30:33 +03:00
vit9696
670d4e0c4f OcBootManagementLib: Drop BlacklistAppleUpdate 2020-06-16 21:09:35 +03:00
vit9696
64f7907038 OcBootManagementLib: Make failed image loading a warning 2020-05-30 23:32:24 +03:00
Download-Fritz
afd982387b OcBootManagementLib: Set 'Windows' name based on booter name 2020-05-24 18:20:19 +02:00
vit9696
0937868839 Build: Fix some issues with MSVC compiler 2020-05-18 10:04:51 +03:00
Download-Fritz
b9f4fff54d OcBootManagementLib: Fix ExpandShortFormBootPath 2020-05-13 10:17:18 +02:00