74 Commits

Author SHA1 Message Date
Mike Beaton
cde43cd3c1 OpenNetworkBoot: Add PXE and HTTP(S) Boot support 2024-11-30 18:40:21 +00:00
Mike Beaton
6bb481ed62 OpenLinuxBoot: Fix booting with TuneD in Fedora 41
In GRUB2+blscfg mode:
 - Allow grub vars in 'initrd' as well as in 'options'
 - Allow multiple initrd files on one 'initrd' line
 - Initialise empty $tuned_params and $tuned_initrd grub vars if no
   values present, on an optional flag enabled by default (since
   we want to make booting major distros easy)

In GRUB2+blscfg mode (seem to be allowed now, not required for fix):
 - Allow multiple 'initrd' lines
 - Allow multiple 'options' lines

Add variant of OcParseVars which can parse as value-only tokens.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-11-18 23:28:33 +00: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
d748c4a76e Platform: Add Firmware Settings entry driver 2024-01-17 09:52:29 +00:00
Mike Beaton
34da204e97 OpenCanopy: Provide OC_ATTR_REDUCE_MOTION to disable non-needed OpenCanopy animiation 2024-01-04 04:21:23 +00:00
Mike Beaton
2b66a703a0 BootPickers: Swap positions of Shutdown and Restart buttons
to better match newer macOS.
Add OC_ATTR_USE_REVERSED_UI bit to use old layout.
2024-01-01 16:00:30 +00:00
Mike Beaton
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk (#498) 2023-11-03 11:06:56 +03: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
425cd5c1a6 OcBootManagementLib: Fix comment typo 2023-07-04 07:15:27 +01: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
Mike Beaton
f6bf1f2d86 EnableGop: Provide standalone GOP driver for EFI-era Macs 2023-01-29 09:21:49 +00:00
Mike Beaton
01b457fe81 Docs/Comments: Consistent use of Note: instead of NB 2023-01-07 09:46:19 +00:00
Mike Beaton
a653620c33 OcBootManagementLib: Enable Apple picker on non-EFI graphics cards 2022-11-23 00:53:23 +00: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
c9ba16fb98 OcVariableRuntimeDxe: Minor updates to comment lines and docs 2022-07-30 08:50:57 +01:00
MikeBeaton
83123452fe OCVAR: Refactor NVRAM code, add OpenVariableRuntimeDxe 2022-07-28 06:38:56 +01:00
MikeBeaton
77c6c9d409 ToggleSipEntry: Add --show-csr option 2022-07-24 14:19:52 +01:00
MikeBeaton
d804b31f8d OcStringLib: Add OC_STRING_FORMAT; rename OC_STRING_BUFFER to OC_ASCII_STRING_BUFFER 2022-07-03 07:19:40 +01:00
Torsten
8044c85b5a
OcBootManagementLib: Fix typo 2022-06-05 12:38:47 +02: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
MikeBeaton
bcd2558686 OcAudio: Convert from int ids to string ids 2022-05-05 04:33:54 +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
8069ce4f9d OcBootManagementLib: Extend ProtectUefiServices quirk to restore hooks overwritten by GRUB2 shim as required 2021-11-28 19:44:41 +00:00
MikeBeaton
949071ebfa OpenLinuxBoot: Support ostree layout; improve documentation 2021-10-08 00:47:00 +01:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
Goldfish64
8be55e9a7d OcBootManagementLib: Fix built-in picker timeout on IA32 2021-06-20 15:53:57 -05: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
39358543b8 BootManagementLib: Code formatting 2021-04-19 14:46:50 +01:00
MikeBeaton
1e3b66e4a8 Pickers: Use context method for password verification 2021-04-19 13:58:10 +01:00
MikeBeaton
9ca899df7a Pickers: Add OC_ATTR_USE_MINIMAL_UI 2021-04-15 01:50:16 +01:00
MikeBeaton
ffe3682eb6 BootManagement: Improved consistency of OC_ATTR naming 2021-04-07 06:17:33 +01:00
vit9696
f31088216a OcBootManagementLib: Add (dmg) suffix to builtin picker as well 2021-04-03 14:57:39 +03:00
MikeBeaton
ee7bf235a6 OCB: Add tabbable Shutdown and Restart buttons to Builtin picker 2021-03-26 19:33:31 +00:00
Marvin Häuser
a1023fbe29 OcBmLib: Move privilege level caching to caller 2021-03-26 00:45:56 +01:00
Marvin Häuser
d8f8107227 OcBmLib: Add password processing status 2021-03-26 00:39:25 +01:00
MikeBeaton
644b2b81c6 Picker: Key handler add key flags and improved indirection 2021-03-25 15:26:03 +00:00
MikeBeaton
ef2db45050 Pickers: Replace OC_INPUT_EXTRA with better defined change detection 2021-03-25 06:58:12 +00:00
MikeBeaton
183e028a5f Pickers: Avoid multiple fetches of Apple Key Map protocol 2021-03-25 06:21:24 +00: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
vit9696
50fb24e5a3 OcBootManagementLib: Fix previous commit removing dedup code by mistake 2021-01-31 22:34:48 +03:00
vit9696
7066f9bea4 OcBootManagementLib: Cleanup bootstrap code even further 2021-01-31 21:31:34 +03:00
PMheart
e7f7360076 OpenCanopy: Implement PickerVariant support 2021-01-02 16:34:10 +03:00
PMheart
08ddaab469
Utilities: Advanced ocvalidate for error checking (#169) 2020-12-24 20:09:52 +03:00