Skip to content

Commit 93edb97

Browse files
committed
OpenDuet: Apply UE loader Pcds which are required to load current Linux EFI stubs
1 parent 2aef7db commit 93edb97

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ OpenCore Changelog
1515
- Added `FirmwareSettingsEntry.efi` driver which adds menu entry to reboot into UEFI firmware settings
1616
- Enabled use of picker shortcut keys which are read out in OpenCanopy when using `PickerAudioAssist`
1717
- Modified builtin picker so as not to respond to keys queued while audio assist menu is being read out
18+
- Fixed Linux EFI stub loading error when using OpenDuet since 0.8.8
1819

1920
#### v0.9.7
2021
- Updated recovery_urls.txt

OpenDuetPkg.dsc

+6
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@
267267
# such as HfsPlusLegacy.efi.
268268
#
269269
gEfiMdePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000003
270+
#
271+
# PcdDxeNxMemoryProtectionPolicy and PcdImageLoaderAllowMisalignedOffset
272+
# settings for Linux EFI stub (same as OvmfPkg LINUX_LOADER settings).
273+
#
274+
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xFFFFFFFFFFFFFF40
275+
gEfiMdePkgTokenSpaceGuid.PcdImageLoaderAllowMisalignedOffset|TRUE
270276

271277
[BuildOptions]
272278
MSFT:NOOPT_*_*_CC_FLAGS = -D OC_TARGET_RELEASE=1 /FAcs -Dinline=__inline /GS /kernel

0 commit comments

Comments
 (0)