x86: Multiboot PE support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 7 repliesIn review
- v14 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* Adjusted for changes to the proposed multiboot2 spec changes. In particular, there are no new multiboot2 tags needed.
* Unconditionally build a new binary rather than adding a build option.
* Avoid compressing it since this makes verification more difficult.
* Build the new binary as a modification of xen.efi rather than relinking from scratch.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: Add support for building a multiboot2 PE binary.gitignore xen/ xen/ +1 more | +95 | 5 replies | |
| 2/2 | x86: Call Shim Verify in the multiboot2 pathxen/ xen/ | +67 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] x86: Multiboot PE support
Hi,
This patches series implements support for building a multiboot-capable PE binary in addition to the existing xen.efi and xen.gz. The purpose of this is to allow the same binary to be booted using BIOS, UEFI, and UEFI with Secure Boot verification just like it can be done with a Linux kernel. It also means that it is possible to enable Secure Boot while still retaining the flexibility of a full bootloader like GRUB2 - not currently possible when using xen.efi.
This requires a multiboot2 loader that supports loading PE binaries. Changes to implement this in GRUB will be sent in a separate series.
Ross
Changed in v2:
* Adjusted for changes to the proposed multiboot2 spec changes. In particular, there are no new multiboot2 tags needed.
* Unconditionally build a new binary rather than adding a build option.
* Avoid compressing it since this makes verification more difficult.
* Build the new binary as a modification of xen.efi rather than relinking from scratch.
Ross Lagerwall (2):
x86: Add support for building a multiboot2 PE binary
x86: Call Shim Verify in the multiboot2 path
.gitignore | 2 + xen/Makefile | 1 + xen/arch/x86/Makefile | 16 ++++++- xen/arch/x86/boot/head.S | 4 +- xen/arch/x86/efi/efi-boot.h | 65 +++++++++++++++++++++++++- xen/arch/x86/efi/modify-mbi-exe.c | 77 +++++++++++++++++++++++++++++++ 6 files changed, 162 insertions(+), 3 deletions(-) create mode 100644 xen/arch/x86/efi/modify-mbi-exe.c
Signature · 1 line
2.43.0