94 Commits

Author SHA1 Message Date
MikeBeaton
83123452fe OCVAR: Refactor NVRAM code, add OpenVariableRuntimeDxe 2022-07-28 06:38:56 +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
Marvin Häuser
3db6e1b996 Fix includes to work nicer with IDEs 2021-11-23 10:55:26 +01:00
vit9696
20721dc99f Build: Fix minor typos, thx Slice&Co 2021-11-03 14:16:38 +03: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
99898a2018 TpmInfo: Initial version 2021-06-27 14:02:30 +03:00
MikhailKrichanov
2b2cbe9048
OcMiscLib: Allow passing arguments to the loader (#270) 2021-06-16 18:16:02 +03:00
PMheart
fded511423
OpenCore: Add CPU Info (MSRs) to SysReport (#267) 2021-06-11 14:40:31 +08:00
MikeBeaton
36b04ca3cd CsrUtil: Update OC SIP disabled default; document problematic SIP bits 2021-05-30 10:01:51 +01:00
MikeBeaton
45f12af220 CsrUtil: Fix called-as-tool detection 2021-05-29 00:20:32 +01:00
MikeBeaton
eb5cc3ee62 BootManagement: Add csrutil EFI tool and Toogle SIP boot option 2021-05-28 09:40:22 +01:00
Mike Beaton
3629b5f2fc
OcDevicePathLib: Apply separator to multi-node paths (#259) 2021-05-14 08:17:25 +03:00
vit9696
5139719d8e GopPerf: Initial version 2021-05-09 14:52:18 +03:00
zhen-zen
e7af0940c2
Tools: support case insensitive arguments (#254) 2021-04-19 15:03:40 +03:00
zhen-zen
7172ba3156 Tools: Fix choice menu in ControlMsrS2 2021-03-28 11:08:04 +03:00
zhen-zen
ba2fe2f596
Tools: Add refactored ControlMsrE2 from #72 (#167) 2021-03-24 09:22:03 +03:00
vit9696
7bb41aa2fd OcAfterBootCompatLib: Added ForceBooterSignature quirk for Mac EFI
Also fixed enabling `DisableSingleUser` when related quirks are off.
2021-03-07 00:41:54 +03:00
vit9696
9bd1d3b497 OcDeviceMiscLib: Move misc device manipulation to a separate library 2021-02-28 12:44:15 +03:00
vit9696
b4449f48dd OcMiscLib: Workaround firmware not specifying image handle at bootstrap
references acidanthera/bugtracker#1502
2021-02-18 08:02:47 +03:00
vit9696
583e563955 Build: Force onscreen early logging for DEBUG OpenCore/Bootstrap 2021-02-18 07:42:35 +03:00
vit9696
7066f9bea4 OcBootManagementLib: Cleanup bootstrap code even further 2021-01-31 21:31:34 +03:00
vit9696
469f8cfb66 OpenCoreMisc: Replace BootProtect with LauncherOption 2021-01-30 23:04:10 +03:00
vit9696
1c445a99d6 OpenCore: Switch to application type for better FW compatibility
This resolves booting issues with Microsoft Surface firmwares
references acidanthera/bugtracker#1446
2021-01-26 22:13:27 +03:00
vit9696
dc1a0d8a22 OcMainLib: Move startup code to a separate library 2021-01-26 21:19:21 +03:00
vit9696
8f41ba3891 OcMiscLib: Fix typos and add missing constants 2021-01-26 03:14:03 +03:00
Goldfish64
e227553324 Application: Remove HdaCodecDump 2021-01-23 20:50:01 -06:00
vit9696
68de5dbd70 Bootstrap: Print actual load path
closes acidanthera/bugtracker#1446
2021-01-20 17:15:59 +03:00
vit9696
9a11244600 OcMiscLib: Add OcLoadAndRunImage and use it in Bootstrap 2021-01-17 03:03:48 +03:00
vit9696
1f2982bf03 OcBootManagementLib: Allow launching any app via GUID 2020-12-03 17:34:57 +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
b320f6089b Bootstrap: Fix potential null pointer dereference 2020-11-06 22:03:05 +03:00
vit9696
46482050c9 Bootstrap: Add support for launching from relative path 2020-11-06 19:37:22 +03:00
John Davis
cde37269aa
VBIOS patching via ForceResolution option (#144)
* BiosVideo: Initial Intel patching functions

* BiosVideo: Implement patch protocol

* BiosVideo: Read EDID from VBE

* BiosVideo: Fix previous commits

* OpenDuet: Fix Windows builds

* BiosVideo: Fix MSVC warnings

* BiosVideo: Pull max resolution from EDID

* BiosVideo: Patch based on PCI vendor ID

* BiosVideo: Fix more MSVC warnings

* OcMiscLib: Try to fix OpenDuet MSVC compilation

* BiosVideo: Fix incorrect return status

* OpenDuet: Create OcDebugLogLibNull library

* Protocol: Rename OC_VBIOS_PATCH_PROTOCOL to OC_FORCE_RESOLUTION_PROTOCOL

* OpenCore: Add ForceResolution option

* BiosVideo: Fix consistency of height/width parameters

* Includes: Mark height/width as optional

* BiosVideo: Cleanup misc issues

* Docs: Add support note
2020-10-26 19:18:06 -05:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
Goldfish64
6c1d7e8570 Bootstrap: Rename to Bootstrap.efi 2020-08-30 15:36:34 -05:00
zhen-zen
d6c5c5c762
ResetSystem: Support reboot into firmware (#73) 2020-06-16 20:49:43 +03:00
vit9696
0fdae4322d Build: Switch to BaseMemoryLibRepStr for optimised memory routines
We cannot use BaseMemoryLibOptDxe since it uses SSE instructions,
and some firmwares fail to properly maintain MMX register contexts
across the timers. This results in exceptions when trying to execute
primitives like CopyMem in timers (e.g. AIKDataWriteEntry).
Reproduced on ASUS M5A97 with AMD FX8320 CPU.

closes acidanthera/bugtracker#754
2020-06-01 00:56:11 +03:00
vit9696
0937868839 Build: Fix some issues with MSVC compiler 2020-05-18 10:04:51 +03:00
vit9696
e6bec3ae80 Debug: Fix some log tags 2020-05-17 16:53:02 +03:00
vit9696
a9cbcd9ae8 Build: Drop EfiPkg 2020-05-17 14:28:41 +03:00
Michael Belyaev
d7e47bed07
Docs: Fix Doxygen comments (#46) 2020-05-05 22:46:14 +03:00
vit9696
5e5ca3fb8b OcMiscLib: Introduce GetArguments function 2020-04-20 15:33:43 +03:00
vit9696
c15042a920 ResetSystem: Workaround argument parsing 2020-04-20 14:45:56 +03:00
vit9696
3cd9ace60c ResetSystem: Initial version
closes acidanthera/bugtracker#861
2020-04-20 13:12:06 +03:00
vit9696
4ec0e4e160 RtcRw: Initial version 2020-04-18 13:13:41 +03:00
vit9696
aac39637f6
OpenCanopy: Various improvements (#28)
- Implemented disk label support
- Implemented volume icon support
- Separated PickerAttrbutes from ConsoleAttributes

Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Michael Belyaev <usrsse2@me.com>
2020-04-06 00:39:17 +03:00
vit9696
ab57d6f1b8 OcMemoryLib: Implement MAT deduplication and watch out on recursion 2020-04-04 16:56:05 +03:00
vit9696
58673b0c0c MmapDump: Fix OpenRuntime detect and print shrinked MMAP in any case 2020-04-04 13:00:28 +03:00