-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OvmfPkg: Update LINUX_LOADER to allow unaligned user images
Required in some distros, e.g. SliTaz. In that example bootx64.efi is the kernel plus an extra loader which fetches its params from a text file. That image has section alignment 0x20, whereas the default (0x7) PcdImageProtectionPolicy enforces section alignment of EFI_PAGE_SIZE=0x1000 for all images. In OpenDuet and OpenCore native loader the Pcd is already set to 0x03, to not enforce this for user images (to allow legacy Apple images) - so this distro I believe would already load via Duet; but this change is required for it to load in AUDK OVMF.
- Loading branch information
1 parent
11bfa6a
commit 13f99fa
Showing
4 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters