18 Commits

Author SHA1 Message Date
MikeBeaton
83123452fe OCVAR: Refactor NVRAM code, add OpenVariableRuntimeDxe 2022-07-28 06:38:56 +01:00
PMheart
4c995bb1ba
OcDebugLogLib: Split into OcLogAggregatorLib and OcDebugLibProtocol (#325) 2022-03-02 15:04:20 +03:00
vit9696
7a07d4308f Build: Rename null debug lib and fix their compilation 2021-12-09 23:04:47 +03:00
MikhailKrichanov
63694f08b8
Build: Made stack-protector guard use global addressing instead of TLS (#295)
This fixes fs-relative access in OpenRuntime killing Windows
2021-11-03 18:30:21 +03:00
vit9696
a4657ac4d4 Build: Upgrade to edk2-stable202108 2021-09-03 03:12:12 +03:00
MikhailKrichanov
a7b927b08b
Build: Implement automatic variable init (#280) 2021-08-20 09:30:12 +03:00
MikhailKrichanov
ca3fcbc42d
Build: Added support for stack canaries (#276) 2021-07-15 14:20:38 +03:00
vit9696
09099c69af OpenPartitionDxe: Initial version with APM support for <= 10.9 dmg 2021-01-31 01:36:50 +03:00
vit9696
03666a6182 Revert "OpenDuet: Replace custom UsbLegacySupport with EDK II code (#174)"
This reverts commit f68784c8a868b4e4aad6b97044695707ab10dad9.

This code does not seem to be stable when booting with USB flash
connected, causing erratic hangs according to @roddy20.
Delay the merge till 0.6.6 until more information is known.
2021-01-03 02:23:01 +03:00
nms42
f68784c8a8 OpenDuet: Replace custom UsbLegacySupport with EDK II code (#174)
Note: Previous revert was caused by a build issue, presumably with
Xcode 9.2. Anyone having further issues ensure to use supported
compilers, i.e. Xcode 12.x or similar.
2021-01-01 17:52:23 +03:00
nms42
bceef18859 Revert "OpenDuet: Replace custom UsbLegacySupport with EDK II code (#174)"
This reverts commit ae95e683715738a5a587a0486def9052b13d9e7a.
2021-01-01 13:27:17 +03:00
nms42
ae95e68371
OpenDuet: Replace custom UsbLegacySupport with EDK II code (#174) 2021-01-01 02:27:36 +03:00
vit9696
95fac52491 Build: Fix Duet compilation with new EDK II 2020-12-13 01:24:21 +03:00
vit9696
9f6b3f9463 BootPlatform: Add custom GraphicsConsoleDxe driver
Imported from AmaranthPkg ac99391d by @MikhailKrichanov
2020-11-04 18:35:35 +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
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
0c7b33ac05 BiosVideo: Minor cleanup 2020-05-30 00:10:28 +03:00
vit9696
ce1c67b685 Build: Include DuetPkg as OpenDuetPkg 2020-05-17 14:29:03 +03:00