We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b450b30 commit 05a0879Copy full SHA for 05a0879
drivers/firmware/efi/libstub/x86-stub.c
@@ -392,8 +392,6 @@ efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
392
image_base = efi_table_attr(image, image_base);
393
image_offset = (void *)startup_32 - image_base;
394
395
- hdr = &((struct boot_params *)image_base)->hdr;
396
-
397
status = efi_allocate_pages(0x4000, (unsigned long *)&boot_params, ULONG_MAX);
398
if (status != EFI_SUCCESS) {
399
efi_printk("Failed to allocate lowmem for boot params\n");
0 commit comments