kexec-bzimage64.c (0898782247ae533d1f4e47a06bc5d4870931b284) kexec-bzimage64.c (aefcf2f4b58155d27340ba5f9ddbe9513da8286d)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kexec bzImage loader
4 *
5 * Copyright (C) 2014 Red Hat Inc.
6 * Authors:
7 * Vivek Goyal <vgoyal@redhat.com>
8 */

--- 166 unchanged lines hidden (view full) ---

175 * If 1:1 mapping is not enabled, second kernel can not setup EFI
176 * and use EFI run time services. User space will have to pass
177 * acpi_rsdp=<addr> on kernel command line to make second kernel boot
178 * without efi.
179 */
180 if (efi_enabled(EFI_OLD_MEMMAP))
181 return 0;
182
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kexec bzImage loader
4 *
5 * Copyright (C) 2014 Red Hat Inc.
6 * Authors:
7 * Vivek Goyal <vgoyal@redhat.com>
8 */

--- 166 unchanged lines hidden (view full) ---

175 * If 1:1 mapping is not enabled, second kernel can not setup EFI
176 * and use EFI run time services. User space will have to pass
177 * acpi_rsdp=<addr> on kernel command line to make second kernel boot
178 * without efi.
179 */
180 if (efi_enabled(EFI_OLD_MEMMAP))
181 return 0;
182
183 params->secure_boot = boot_params.secure_boot;
183 ei->efi_loader_signature = current_ei->efi_loader_signature;
184 ei->efi_systab = current_ei->efi_systab;
185 ei->efi_systab_hi = current_ei->efi_systab_hi;
186
187 ei->efi_memdesc_version = current_ei->efi_memdesc_version;
188 ei->efi_memdesc_size = efi_get_runtime_map_desc_size();
189
190 setup_efi_info_memmap(params, params_load_addr, efi_map_offset,

--- 375 unchanged lines hidden ---
184 ei->efi_loader_signature = current_ei->efi_loader_signature;
185 ei->efi_systab = current_ei->efi_systab;
186 ei->efi_systab_hi = current_ei->efi_systab_hi;
187
188 ei->efi_memdesc_version = current_ei->efi_memdesc_version;
189 ei->efi_memdesc_size = efi_get_runtime_map_desc_size();
190
191 setup_efi_info_memmap(params, params_load_addr, efi_map_offset,

--- 375 unchanged lines hidden ---