381 Commits

Author SHA1 Message Date
Mike Beaton
dc182df42c OcBootManagementLib: Add InstanceIdentifier, and ability to target .contentVisibility to specific instances 2023-06-23 19:54:33 +01:00
Mike Beaton
78cf64df83 OcBootManagementLib: Improve Save/RestoreMode 2023-05-20 00:42:48 +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
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
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
Mike Beaton
c8b93357b8 OcConsoleLib: Simplify use of builtin renderer uncontrolled mode
The renderer already (esp. since recent changes incl. reset to controlled on cls)
manages its own transitions to controlled, so we just need to indicate uncontrolled
in cases where something else has been rendering graphics
2023-05-04 09:59:22 +01:00
Mike Beaton
7feb7c98c3 OcConsoleLib: Builtin renderer updates
- Perform full clear screen on switch from graphics to text mode,
   if marked uncontrolled
 - Suppress remaining console coloured output (screen clear and
   cursor, text was already handled) if in graphics mode
 - Remain uncontrolled while in graphics mode
 - Improve builtin renderer screen size calculations
   o Although we appear to lose a small amount of height (i.e. up
     to one row) with the new font size scaled vertical padding,
     we were actually losing it anyway with the previous screen
     size calculation
 - Re-order initialisation of builtin mode
   o Avoid producing uncontrolled text with old text protocol,
     after resync screen clear of new controlled protocol
2023-05-03 22:21:11 +01:00
Mike Beaton
acecdf5e7b Revert OcConsoleLib related parts of recent commits:
- Reverts part of commit 2439d58412c071cb735cde8a70c9ef964a095780.
 - Reverts commit a189bd53bc2ac1490dac7125a9ce11fd03571755.
 - Reverts part of commit b07843fe1d47454747ae4eda9ea0189aa9fb8c03.
2023-05-02 07:49:01 +01:00
Savva Mitrofanov
70bb87c7b0 Library: Replace OcPeCoffLib with UefiImageLib 2023-04-26 11:01:50 +03:00
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
Mike Beaton
abe28e829f OcConsoleLib: Add GopBurstMode quirk
OcMemoryLib: Add additional PAT and MTRR caching support
2023-03-28 07:18:14 +01:00
Mike Beaton
2439d58412
OcConsoleLib: Prevent verbose boot text overwriting pre-existing graphics (#426)
- Clear console screen on change to console mode
 - Ensure entire screen is cleared at least once in console mode
   o Was not needed/was done by default, prior to a189bd53bc2ac1490dac7125a9ce11fd03571755
   o Remove GOP clear screen work-around no longer required with this change.
 - These changes improve EnableGop driver in the same way, so update version number
   o Add EnableGop version in UI section, to enable tool builders to track it
2023-02-22 02:01:39 +03: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
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
Mike Beaton
13356ae4a4 OcBootManagementLib: Fix unwanted flicker when launching non-text entry 2022-11-12 18:51:16 +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
77c6c9d409 ToggleSipEntry: Add --show-csr option 2022-07-24 14:19:52 +01:00
MikeBeaton
14c792ae8b OcStringLib: Use OC_STRING_FORMAT consistently 2022-07-20 19:49:21 +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
d804b31f8d OcStringLib: Add OC_STRING_FORMAT; rename OC_STRING_BUFFER to OC_ASCII_STRING_BUFFER 2022-07-03 07:19:40 +01:00
PMheart
2e2dde8e24
OcBootManagementLib: De-duplication of mOzmosisProprietary1Guid (#354) 2022-05-24 09:54:03 +03:00
MikeBeaton
7d0e3d4039 Various: Static string optimisations 2022-05-17 08:50:08 +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
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
97c1f841f1 OpenLinuxBoot: Boot from standalone /boot partition 2022-02-27 09:00:41 +00:00
MikeBeaton
f3004e2e7b OcBootManagementLib: Update comment 2022-02-09 20:51:14 +00:00
MikeBeaton
d7fdea3173 OcBootManagementLib: Auto-detect macOS Installer text label for use when .disk_label file cannot be displayed
Fixes https://github.com/acidanthera/bugtracker/issues/1939
2022-02-09 10:41:52 +00:00
vit9696
07f0091f95 OcBootManagementLib: Improved robustness in PE image file parsing 2022-02-04 03:53:54 +03: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
4c26a2a465 AudioDxe: Switch from % volume to dB gain 2022-01-10 11:51:34 +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
vit9696
a2fcc8d7eb OcBootManagementLib: Fix previous commit 2021-11-27 04:09:07 +03:00
vit9696
9e0770f830 OcBootManagementLib: Fixed handling DPs with lunits in ScanPolicy 2021-11-25 09:35:33 +03:00
vit9696
a41d48069a Build: Drop hidden .contentFlavour file from repo, use printf instead 2021-11-04 17:51:46 +03: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
45af0f580c BootManagement: Prevent overlong entry names breaking builtin menu text flow 2021-09-04 17:11:04 +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