106 Commits

Author SHA1 Message Date
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
vit9696
6cef37f0be OcConsoleLib: Fixed ProvideConsoleGop not disabling blit-only modes
This resolves verbose output issues on ASUS Z690F.
2021-11-11 00:48:54 +03:00
vit9696
20721dc99f Build: Fix minor typos, thx Slice&Co 2021-11-03 14:16:38 +03:00
vit9696
92ab271dba OcConsoleLib: Fix assertions with GopPassThrough 2021-05-29 13:01:52 +03:00
Vitaly Cheptsov
8dd01eb4fe
OcConsoleLib: Fix assertion on UGA failurei 2021-05-28 21:34:21 +03:00
vit9696
4e0ff2dfa7 OcConsoleLib: Added Apple variant of GopPassThrough
On MP3,1 with UGA there is a dangling UGA protocol with 1024x768
resolution on ConOut, which points nowhere when no Apple GPU is
installed. Installing GOP on it results in black screen due to
the wrong GOP being chosen for ConOut.

The workaround is not to install the GOP without AppleFramebufferInfo
but this is only applicable to Apple machines, thus the option.
2021-05-23 10:32:35 +03:00
vit9696
c8a0f310f2 OcConsoleLib: Revert BltOnly hack for direct renderer 2021-05-10 12:49:57 +03:00
vit9696
3c283f662a OcConsoleLib: Fix MTRR pointers 2021-05-09 15:52:09 +03:00
vit9696
31b5e1943b OcConsoleLib: Avoid potential rotation conflicts with bootloaders 2021-05-09 03:27:38 +03:00
vit9696
e094c2bd95 OcConsoleLib: Fix rotation and EfiBoot bridging 2021-05-09 02:59:05 +03:00
vit9696
479a5b15f3 OcConsoleLib: Add AppleEg2Info protocol and make rotation configurable 2021-05-09 00:43:09 +03:00
vit9696
b87d9eead2 OcBlitLib: Implement partial 180 degree rotation support 2021-05-08 19:12:30 +03:00
vit9696
f2bc348793 OcConsoleLib: Allow future interfacing builtin GOP with rotation 2021-05-08 16:27:35 +03:00
Vitaly Cheptsov
2ac5173028
OcConsoleLib: Fix MSVC compilation 2021-05-08 14:06:44 +03:00
vit9696
2abe2a6d1a OcBlitLib: Initial version for improved compatibility 2021-05-08 13:29:29 +03:00
vit9696
ef5a9d03a9 Build: Fix some warnings 2021-04-14 18:41:14 +03:00
vit9696
484c91d316 OcConsoleLib: Do not uninstall Apple FB Info when there is no GOP 2021-02-21 18:16:18 +03:00
PMheart
7180cdb43b
OpenCoreUefiInOut: Added GopPassThrough option to support GOP protocol over UGA (#211) 2021-02-21 18:13:15 +03:00
Vitaly Cheptsov
3ae11a90c6
OcConsoleLib: Fix message error level 2021-02-21 10:41:04 +03:00
vit9696
39605d02be OcConsoleLib: Fix installing Apple FB Info protocol when no GOP exists 2021-02-20 23:13:09 +03:00
vit9696
69ff426319 OcConsoleLib: Add framebuffer base and params logging 2021-01-31 19:53:19 +03:00
vit9696
6f936b8528 Library: Install all protocols on new handle 2021-01-22 20:29:14 +03:00
vit9696
68de5dbd70 Bootstrap: Print actual load path
closes acidanthera/bugtracker#1446
2021-01-20 17:15:59 +03:00
dakanji
ba5eea2de4
OcConsoleLib: Improve error reporting with TextoutputBuiltin (#143)
closes acidanthera/bugtracker#1238
2020-10-29 12:21:43 +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
vit9696
5d332ce5e8 OcConsoleLib: Fixed assert when trying to enable direct renderer
Happened on blit-only GOP, see acidanthera/bugtracker#1221
2020-10-17 20:27:45 +03:00
dakanji
8c78acfea0
OcConsoleLib: Fix typo from the previous commit (#137) 2020-10-13 10:34:28 +03:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
dakanji
7591a4991a
OcConsoleLib: Return Status on Providing Console GOP (#117)
closes acidanthera/bugtracker#1135
2020-09-06 14:41:02 +03:00
dakanji
f35b380675
Return Status on Setting Renderers (#115)
сloses acidanthera/bugtracker#1133
2020-09-04 00:13:03 +03:00
vit9696
d7d16127c5 OcConsoleLib: Add BuiltinText TextRenderer mode
Discovered on Lenovo V580 (i3 3120M)
2020-08-12 19:48:57 +03:00
vit9696
ee30d2f5e0 OcConsoleLib: Update UGA comments
closes acidanthera/bugtracker#1061
2020-07-25 17:55:04 +03:00
vit9696
51a1dd4ef4 OcConsoleLib: Added AppleFramebufferInfo protocol 2020-06-28 10:19:13 +03:00
vit9696
1d1b1cc12c OpenCoreUefiInOut: Added UgaPassThrough option to support UGA protocol over GOP 2020-06-28 09:51:39 +03:00
vit9696
badcd125bd OcConsoleLib: Added UGA protocol compatibility in ProvideConsoleGop quirk
This is required by 10.4 EfiBoot
2020-06-28 09:43:21 +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
vit9696
86b69367df OcConsoleLib: Fixed compatibility with blit-only GOP (e.g. OVMF Bochs) 2020-05-14 09:53:48 +03:00
vit9696
0ee57bdef1 OcConsoleLib: Fixed builtin text renderer failing to provide ConsoleControl 2020-05-14 09:43:07 +03:00
vit9696
4433c92895 OcConsoleLib: Added builtin text renderer compatibility with Shell page mode
For some reason UEFI Shell trashes Cursor positions of the TextOut protocol
even though the spec explicitly forbids this.

closes acidanthera/bugtracker#837
2020-05-11 04:44:51 +03:00
vit9696
76e889f89a OpenCanopy: Fix black splash with non-black bg 2020-05-10 23:03:45 +03:00
vit9696
8b5099bf1f Docs: Fixed launching Shell with text over it 2020-05-10 21:58:27 +03:00
vit9696
6caff2a456 OpenCoreUefiInOut: Fixed ReconnectOnResChange reconnecting even without res change 2020-05-10 20:13:06 +03:00
vit9696
525b6a6ada OcConsoleLib: Fixed handling 24-bit screen resolutions 2020-04-26 06:28:30 +03:00
Download-Fritz
079070a29f Fix several issues (Coverity, Clang) 2020-04-07 17:44:21 +02:00
vit9696
6439b435db OpenCoreUefi: Support MTRR cache policy in direct fb 2020-03-08 00:43:56 +03:00
vit9696
97585cb6c2 Build: Remove OcSupportPkg usage 2020-02-29 17:39:41 +03:00
vit9696
574dd5aaa9 ChipTune: Fix invalid memory access 2020-02-23 19:24:53 +03:00
vit9696
66979ff5c5 Build: Fix analysis warnings
closes acidanthera/bugtracker#722
2020-02-16 15:46:12 +03:00