[PATCH v2 0/5] kexec-tools: multiboot2: Accept x86-64 images
Zhaofeng Li
hello at zhaofeng.li
Mon Sep 13 20:51:37 PDT 2021
Hi Simon,
Thanks for your review! In this patchset I have addressed your comments
and included an extra fix.
Zhaofeng
--
This patch series adds support for loading x86-64 ELF images with
the multiboot2 header and fixes a couple of related issues.
Changes since v1:
- Coding style fixes
- Fixed one more occurrence of mhi.rel_tag in rel_min/rel_max patch
- Added a patch to address code duplication in elf_x86_64_probe
- Added a patch to address the case where add_buffer tried to
allocate at 0x0.
Zhaofeng Li (5):
x86: Consolidate elf_x86_probe routines
multiboot2: Correct MBI size calculation
multiboot2: Use rel_min and rel_max for buffer destinations
multiboot2: Avoid first 0x500 bytes
multiboot2: Accept x86-64 images
kexec/arch/i386/kexec-elf-x86.c | 44 +++++++++++++++++++++++-----
kexec/arch/i386/kexec-mb2-x86.c | 29 ++++++++++++------
kexec/arch/i386/kexec-x86.h | 1 +
kexec/arch/x86_64/kexec-elf-x86_64.c | 28 ++----------------
kexec/arch/x86_64/kexec-x86_64.c | 4 +--
5 files changed, 62 insertions(+), 44 deletions(-)
--
2.32.0
More information about the kexec
mailing list