660 Commits

Author SHA1 Message Date
Mike Beaton
1312e2b298 OpenVariableRuntime: Sync header comment in VariableDxe.c with code changes 2025-08-02 22:20:52 +01:00
vit9696
0195da09a1 Misc: change __FUNCTION__ to __func__ as per upstream EDK II 2025-08-03 00:02:15 +03:00
John Davis
45f8ba2cd2
Add ClearTaskSwitchBit booter quirk (#573)
This quirk is needed to boot macOS 10.7 and older when using a 32-bit kernel on a 64-bit UEFI firmware that makes uses of FPU or SSE instructions in runtime services (such as Hyper-V).
2025-02-23 10:51:40 -06:00
Mike Beaton
07e61bf975 OpenNetworkBoot: Improve NVRAM handling
- Avoid potentially leaving one boot where BOOTSERVICE_ACCESS variable
   can be written by OS
 - Remove incorrect implication that OpenCore's NVRAM reset will clear
   static4 settings
2024-12-28 14:09:06 +00:00
Mike Beaton
18b64a426d OpenNetworkBoot: README update 2024-12-22 22:53:47 +00:00
Mike Beaton
7a8bb3fe04 OpenNetworkBoot: README updates 2024-12-22 21:36:54 +00:00
Mike Beaton
f30d41230d OpenNetworkBoot: Add support for setting static IPv4 address NVRAM variable
Normally only useful for our HttpBootDxe, which supports HTTP
boot from static IP address as long as URI is also pre-specified.

The NVRAM setting should affect normal EDK II derived network stacks
and will configure a static IP on the card, but this will later be
ignored and overridden by DHCP when PXE or HTTP boot is started in the
standard network stack.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-12-22 14:09:25 +00:00
Mike Beaton
b70d558e44 OpenNetworkBoot: README replace /Users/user with /home/mjsbeaton 2024-12-11 11:54:39 +00:00
Mike Beaton
cde43cd3c1 OpenNetworkBoot: Add PXE and HTTP(S) Boot support 2024-11-30 18:40:21 +00:00
Mike Beaton
d4869b84fd OpenNetworkBoot: Update imported EDK 2 files to contain only the methods which are kept and modified 2024-11-30 18:40:01 +00:00
Mike Beaton
355609bc90 OpenNetworkBoot: Import initial unmodified EDK 2 files 2024-11-30 18:40:01 +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
737dd930e7
CrScreenshotDxe: Work around TPL-related ASSERT within firmware compiled to assert (#539)
(such as recently updated DEBUG version of OpenDuet)
2024-04-29 08:47:09 +01:00
Mike Beaton
4800386ae2 OpenCanopy: Enable use of picker shortcut keys
when these are being read out due to audio assist
2024-01-17 09:59:32 +00: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
7e916f5715 OpenCanopy: Only require presence of label images when used 2024-01-03 21:36:39 +00:00
Mike Beaton
0b1f8388c5 OpenCanopy: Fixed intro animation getting stuck
When triggered, this:
 - Looks wrong
 - Disables ESC and SPACE
 - Can hide the menu completely (if triggered early)
2024-01-03 06:59:40 +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
John Davis
bb44e89add
Implement legacy OS booting support (#482) 2023-09-07 20:00:30 -05:00
John Davis
e7f6617d34 OpenNtfsDxe: Fixed NTFS SimpleFileSystemProtocol formatting 2023-08-27 12:23:03 -05:00
John Davis
6ef0a6b613 OpenNtfsDxe: Fix incorrect filename handling of files in root dir 2023-08-27 11:22:00 -05:00
Mike Beaton
ae9e724381 CrScreenshotDxe: Add --enable-mouse-click argument 2023-05-20 01:00:52 +01:00
Mike Beaton
78cf64df83 OcBootManagementLib: Improve Save/RestoreMode 2023-05-20 00:42:48 +01:00
PMheart
c4c8e3412a Platform/OpenNtfsDxe: Fix build 2023-05-04 14:50:42 +02: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
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
b34b7c48f2 Various: Add missing .inf dependencies 2023-02-25 19:37:27 +03:00
Mike Beaton
457c68dcde OpenCanopy: Restore screen clear on exit
https://github.com/acidanthera/bugtracker/issues/2231
2023-02-23 04:48:14 +00: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
2abe0760a0 OpenCanopy: Remove non-required clear screen on exit
The firmware standard (not just in Apple firmware) appears to be
for each step to leave its graphics up for the next step to clear
2023-01-30 23:48:23 +00:00
Mike Beaton
5032385ba4 OpenVariableRuntimeDxe: Revert 47e800f75056c4e26ee9fa69a91ba1f162249176 and add comment explaining why 2023-01-22 13:36:43 +00:00
Mike Beaton
01b457fe81 Docs/Comments: Consistent use of Note: instead of NB 2023-01-07 09:46:19 +00:00
PMheart
c8fba4e2de
OpenNtfsDxe: Minor codestyle fixes (#351) 2022-12-04 19:16:21 +03:00
dakanji
47e800f750
OpenVariableRuntimeDxe: Add spoof proof UEFI 2.x checking (#405) 2022-12-04 19:11:33 +03:00
MikhailKrichanov
4691be3f47
OpenLinuxBoot: Fixed memory access (#393) 2022-11-07 11:13:00 +03:00
Mike Beaton
d00a73b93b OpenVariableRuntimeDxe: Avoid setting UEFI 2.x interface member on EFI 1.x 2022-10-30 07:42:57 +00:00
Mike Beaton
5f0ef0f58b Revert "OpenVariableRuntimeDxe: Avoid our driver being wrapped by additional Apple security checks" 2022-10-30 05:51:42 +00:00
MikeBeaton
74b994cfe1 OpenVariableRuntimeDxe: Transfer AcpiGlobalVariable from real to emulated NVRAM to preserve wake from S3 on EFI 1.1 systems 2022-10-27 12:30:10 +01:00
Mike Beaton
7ddccabef7 OpenVariableRuntimeDxe: Avoid our driver being wrapped by additional Apple security checks 2022-10-25 07:13:09 +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
99db622f52 OpenCanopy: Fix animation linked list behaviour on Canopy restart 2022-07-24 13:32:51 +01:00
MikeBeaton
14c792ae8b OcStringLib: Use OC_STRING_FORMAT consistently 2022-07-20 19:49:21 +01:00
MikeBeaton
79f0829170 AudioDxe: Add --force-device option 2022-07-09 09:53:43 +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
vit9696
b614d5f1fd Build: Use ASCII symbols in copyrights 2022-05-30 08:35:03 +03:00
MikeBeaton
51795b0533 BootEntryProtocol: ToggleSip correct attribute handling 2022-05-23 13:41:17 +01:00