vit9696
def8866ef3
OcBootManagementLib: Fix locating default Windows with DuetPkg
2020-05-08 00:49:54 +03:00
Download-Fritz
9440cd057b
OcBootManagementLib: Use static functions for Boot Policy
...
Includes fixing an issue where generic booters were added for file systems that already had a primary booter by the use of "core" Apple Boot Policy predefined paths.
2020-05-07 17:34:53 +02:00
Download-Fritz
913fb12a3f
OcAppleBootPolicyLib: Introduce concept of "Core" paths
2020-05-07 17:34:53 +02:00
Download-Fritz
b7bb88473f
OcAppleBootPolicyLib: Do not return unused APFS handle by OC API
...
The handle is unused by all calls within OC and finding it has a considerable overhead considering scanning many partitions, hence limit it to Apple protocol API.
2020-05-07 17:34:53 +02:00
vit9696
e4f182ee9f
Build: Fix doxygen issues
2020-05-06 23:16:51 +03:00
Download-Fritz
c9c9979fd2
OcBootManagementLib: Adapt to OcAppleBootPolicyLib changes
2020-05-06 21:12:00 +02:00
Download-Fritz
cc4cb23796
OcAppleBootPolicy: Move parameter checking to protocol functions
2020-05-06 21:11:23 +02:00
Download-Fritz
3d97abb86f
OcAppleBootPolicyLib: Fix Apple UB
2020-05-06 20:56:04 +02:00
Download-Fritz
971e412a5c
OcAppleBootPolicyLib: Expose functions statically
2020-05-06 20:56:04 +02:00
vit9696
3e5cbe6b86
OcBootManagementLib: Fix custom entry listing when ResetNVRAM is off
2020-05-06 21:41:48 +03:00
Download-Fritz
8e42201f04
OcDevicePathLib: Fix restore struct fields
2020-05-06 14:52:53 +02:00
Nikolai SAOUKH
52aee52fa4
OpenCorePkg\Library\OcDevicePathLib\OcDevicePathLib.c: Fix warning C4244: '=': conversion from 'const UINT32' to 'UINT{8|16}', possible loss of data
2020-05-06 12:45:44 +03:00
vit9696
9bbd9f0395
OcBootManagementLib: Invoke bless for every BootOrder entry
...
This resolves a problem with locating recovery and other macOS installs
2020-05-06 01:25:23 +03:00
vit9696
8411a4ba2e
OcBootManagementLib: Fix accessing freed device path for APFS recovery
2020-05-06 01:20:23 +03:00
vit9696
5f32fc7eb9
OcBootManagementLib: Log APFS recovery location failure code
2020-05-06 00:26:27 +03:00
vit9696
f5eed13321
OcStringLib: Fix a typo
2020-05-06 00:09:33 +03:00
vit9696
ef1c9b02f2
OcStringLib: Fix OcStrStrLength to match equal strings
2020-05-06 00:02:20 +03:00
vit9696
6336f034ca
OcBootManagementLib: Fix the use of uninitialised value
2020-05-05 22:46:30 +03:00
Michael Belyaev
d7e47bed07
Docs: Fix Doxygen comments ( #46 )
2020-05-05 22:46:14 +03:00
vit9696
796765ca7c
OcBootManagementLib: Rework boot management ( #42 )
...
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Download-Fritz <download-fritz@outlook.com>
2020-05-05 19:45:32 +03:00
Michael Belyaev
b4e2820be3
OpenCanopy: Improve font support ( #43 )
...
- Fix various issues during BMF font loading.
- Add 2x font support (requires the height to be 12*Scale, like bless-generated).
- Add fonts without kerning support.
- Rename `Light` to `LightBackground` and fix color comparison direction.
- Add support loading images that already have premultiplied alpha (use it for font).
- Improve font/label size assertion messages
- Draw font-rendered labels and image lebels with alpha to fix background blending.
- Update Xcode project to work with indexing.
- OcAppleDiskImageLibInternal: fix error handling issues.
2020-05-05 18:46:21 +03:00
vit9696
7aef9de457
OcAppleImageConversionLib: Conform to the latest protocol discoveries
2020-05-04 15:42:21 +03:00
vit9696
001340fc2a
OcAppleImageConversion: Fix scale argument handling
2020-05-03 23:47:58 +03:00
vit9696
cbfbc3487f
OpenCoreMisc: Fix excluded handled initialisation
2020-04-29 05:14:06 +03:00
vit9696
525b6a6ada
OcConsoleLib: Fixed handling 24-bit screen resolutions
2020-04-26 06:28:30 +03:00
Download-Fritz
fbecde8066
OcBmLib: Add missing EFIAPI decorator
2020-04-24 11:11:03 +02:00
vit9696
616505ca2b
OcBootManagementLib: Added experimental BootProtect Security option
...
closes acidanthera/bugtracker#859
2020-04-24 00:56:57 +03:00
vit9696
da1577b24a
OcDebugLogLib: Do not attempt file logging at high TPL
2020-04-24 00:56:57 +03:00
Download-Fritz
cf05a42605
OcAppleKernelLib: Relieve __LINKEDIT presence expectations
...
KPIs in Mountain Lion expose symbols but do not have a __LINKEDIT segment.
2020-04-23 22:24:00 +02:00
Download-Fritz
4dab6b508a
OcAppleKernelLib: Avoid NULL 0-offset UB
2020-04-23 19:59:32 +02:00
vit9696
5e5ca3fb8b
OcMiscLib: Introduce GetArguments function
2020-04-20 15:33:43 +03:00
vit9696
19cae8046e
OcConfigurationLib: Renamed Protocols to ProtocolOverrides
...
Pioneer salut to ugrobators
2020-04-20 09:52:09 +03:00
vit9696
a7e5e78987
OcConfigurationLib: Fixed size parsing in ReservedMemoryAreas
2020-04-19 16:51:45 +03:00
vit9696
38bdff0a05
OcRtcLib: Fix out of bounds access
2020-04-19 14:43:41 +03:00
Nikolai SAOUKH
fff7ced6ee
OpenCorePkg/Library/OcRtcLib: fix possible loss of data
...
OpenCorePkg\Library\OcRtcLib\AppleRtcRam.c(151): error C2220: the following warning is treated as an error
OpenCorePkg\Library\OcRtcLib\AppleRtcRam.c(151): warning C4244: 'function': conversion from 'UINTN' to 'UINT8', possible loss of data
2020-04-19 10:22:04 +03:00
vit9696
892f9fd10a
OpenCoreUefi: Added AppleRtcRam protocol implementation
...
closes acidanthera/bugtracker#765
2020-04-18 22:21:58 +03:00
vit9696
b508b42905
OcRtcLib: Implement basic version of AppleRtcRam
2020-04-18 18:17:57 +03:00
vit9696
3ec848da3d
Build: Replace RETURN_ macros with EFI_
2020-04-18 15:55:05 +03:00
vit9696
0bb426d364
OcAppleKernelLib: Added PatchAppleRtcChecksum kernel quirk
2020-04-18 15:40:08 +03:00
vit9696
e2fbb2e10a
OpenCoreUefi: Added memory region reservation support
2020-04-18 10:28:59 +03:00
Nikolai SAOUKH
34b34db868
OpenCorePkg/Library/OcCompressionLib: fix signed/unsigned compare
2020-04-17 14:25:30 +03:00
vit9696
c9f4115a2b
Build: Reduce the use of TPL_NOTIFY as it may conflict with debugging
2020-04-17 09:50:35 +03:00
vit9696
5fc0905af9
OcAfterBootCompatLib: Create events with TPL_CALLBACK priority
...
Logging may save to file, and file services must be invoked with TPL
lower or equal to TPL_CALLBACK. Failing to do so causes OVMF crash.
closes acidanthera/bugtracker#831
2020-04-17 09:39:32 +03:00
vit9696
5366a11b59
OcAppleEvent: Create events with TPL_CALLBACK priority
...
We use gRT->GetTime, and time services must be invoked with TPL
lower or equal to TPL_CALLBACK. Failing to do so causes OVMF crash.
closes acidanthera/bugtracker#846
2020-04-17 06:54:36 +03:00
vit9696
eb0919a97b
OcAppleEventLib: Remove accidentally committed file
2020-04-16 20:48:33 +03:00
vit9696
c58483f432
OcApfsLib: Improve error handling
...
closes acidanthera/bugtracker#844
2020-04-15 03:43:23 +03:00
vit9696
1574b4b0ad
OcApfsLib: Fix warning found by coverity
2020-04-14 18:06:48 +03:00
vit9696
e6acc72a50
OcApfsLib: Do not warn about ignored APFS drivers in release builds
2020-04-14 10:37:59 +03:00
vit9696
c8a50907b0
OcXmlLib: Fix parsing negative integers
...
Resolves issues with parsing MinVersion/MinDate in APFS section
2020-04-14 07:55:15 +03:00
vit9696
ce11c4ce4e
OcCompressionLib: Fix signedness issues
...
closes acidanthera/bugtracker#833
2020-04-13 06:36:30 +03:00