Support EFI multiboot loading using PE binary
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 7 repliesIn review
Changes in v2 from the cover letter
- Changed title, apparently this is a kind of new mode;
- address lot of comments (see "Changes" in other messages).
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86: Put trampoline in .init.data sectionxen/ | +2 | 0 replies | |
| 2/5 | x86: Set xen_phys_start and trampoline_xen_phys_start earlierxen/ | +5 | 1 reply | |
| 3/5 | x86: Force proper gdt_boot_base settingxen/ | +10 | 1 reply | |
| 4/5 | x86: Compensate relocation in case of EFIxen/ | +2 | 1 reply | |
| 5/5 | x86: Rollback relocation in case of EFI multibootxen/ xen/ xen/ +2 more | +168 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] Support EFI multiboot loading using PE binary
Testing this feature in preparation for UEFI CA memory mitigation requirements I found some issues causing the loading to fail and other minor issues.
Details in series commit messages.
This is adding an additional way to boot Xen, using GrUB2+EFI (xen.efi:__efi64_mb2_start).
Changes since v1:
- Changed title, apparently this is a kind of new mode;
- address lot of comments (see "Changes" in other messages).
Frediano Ziglio (5):
x86: Put trampoline in .init.data section
x86: Set xen_phys_start and trampoline_xen_phys_start earlier
x86: Force proper gdt_boot_base setting
x86: Compensate relocation in case of EFI
x86: Rollback relocation in case of EFI multiboot
xen/arch/x86/boot/Makefile | 2 +- xen/arch/x86/boot/efi-reloc-image.c | 40 ++++++++++++++ xen/arch/x86/boot/efi-reloc-image.h | 85 +++++++++++++++++++++++++++++ xen/arch/x86/boot/head.S | 72 ++++++++++++++++++------ xen/arch/x86/efi/efi-boot.h | 64 ++-------------------- 5 files changed, 187 insertions(+), 76 deletions(-) create mode 100644 xen/arch/x86/boot/efi-reloc-image.c create mode 100644 xen/arch/x86/boot/efi-reloc-image.h
Signature · 1 line
2.45.2