Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loader/multiboot_mbi2.c: disable UEFI BS when booting with slaunch #27

Open
wants to merge 1 commit into
base: aem-qubes-4.2.3-rebase
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions grub-core/loader/multiboot_mbi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,12 @@ grub_multiboot2_make_mbi (grub_uint32_t *target, grub_uint32_t *size)
grub_size_t bufsize;
grub_relocator_chunk_t ch;

if (grub_slaunch_platform_type () != SLP_NONE)
{
/* MLE can't call pre-DLE services. */
keep_bs = 0;
}

bufsize = grub_multiboot2_get_mbi_size ();

COMPILE_TIME_ASSERT (MULTIBOOT_TAG_ALIGN % sizeof (grub_properly_aligned_t) == 0);
Expand Down
Loading