[ipxe-devel] [PATCH 0/6] multiboot2 support for EFI

Doug Goldstein cardoe at cardoe.com
Thu Jan 26 21:34:55 UTC 2017


This adds multiboot2 support for EFI. At this point I consider the series
to be a RFC rather than mergable quality. You can see the spec here:
http://git.savannah.gnu.org/cgit/grub.git/tree/doc/multiboot.texi?h=multiboot2
You can see some more at: http://wiki.osdev.org/Multiboot
And outdated version of the spec in PDF is:
http://nongnu.askapache.com/grub/phcoder/multiboot.pdf
My main interest is tboot + Xen which is what I've used to test this. But a
number of other projects I've found have started to embrace multiboot2.

Doug Goldstein (2):
  [image] add support for EFI in prep_segment()
  [image] let elf_load() provide load addr

Jonathan Creekmore (4):
  [multiboot2] add the GRUB multiboot2 header
  [multiboot2] stub out multiboot2 support
  [multiboot2] implement the ability to load mb2 images
  [multiboot2] add support for probing mb2 images on EFI

 src/arch/x86/image/elfboot.c        |   4 +-
 src/arch/x86/image/multiboot.c      |   2 +-
 src/arch/x86/image/multiboot2.c     | 626 +++++++++++++++++++++++++++++-
 src/arch/x86/include/bits/errfile.h |   1 +-
 src/arch/x86/include/multiboot2.h   | 417 +++++++++++++++++++-
 src/config/config.c                 |   3 +-
 src/config/defaults/efi.h           |   1 +-
 src/image/elf.c                     |  18 +-
 src/image/segment.c                 |  49 ++-
 src/include/ipxe/elf.h              |   5 +-
 src/include/ipxe/features.h         |   1 +-
 src/include/ipxe/image.h            |  15 +-
 12 files changed, 1129 insertions(+), 13 deletions(-)
 create mode 100644 src/arch/x86/image/multiboot2.c
 create mode 100644 src/arch/x86/include/multiboot2.h

base-commit: 41f786cc0a392c238068919709a63985134bb9b1
-- 
git-series 0.9.1



More information about the ipxe-devel mailing list