[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 00/18] x86: multiboot2 protocol support



Hi,

I am sending, long awaited, first version of multiboot2 protocol
support for legacy BIOS and EFI platforms.

The final goal is xen.efi binary file which could be loaded by EFI
loader, multiboot (v1) protocol (only on legacy BIOS platforms) and
multiboot2 protocol. This way we will have:
  - smaller Xen code base,
  - one code base for xen.gz and xen.efi,
  - one build method for xen.gz and xen.efi;
    xen.efi will be extracted from xen file
    using objcopy; PE header will be contained
    in ELF file and will precede Xen code,
  - xen.efi build will not so strongly depend
    on a given GCC and binutils version.

GRUB2 patch series will follow this patch series.

GRUB2 guys should check patch #18 but I am sending
to you all Xen related patches just in case.

Daniel

 xen/arch/x86/Makefile             |   17 ++--
 xen/arch/x86/boot/Makefile        |    3 +-
 xen/arch/x86/boot/head.S          |  291 
++++++++++++++++++++++++++++++++++++++++++++++++++----
 xen/arch/x86/boot/reloc.c         |  219 
++++++++++++++++++++++++++++++++++-------
 xen/arch/x86/dmi_scan.c           |    4 +-
 xen/arch/x86/domain_page.c        |    2 +-
 xen/arch/x86/e820.c               |   29 ++----
 xen/arch/x86/efi/Makefile         |   12 +--
 xen/arch/x86/efi/efi-boot.h       |   66 +++++++++++--
 xen/arch/x86/efi/stub.c           |   41 --------
 xen/arch/x86/mpparse.c            |    4 +-
 xen/arch/x86/setup.c              |   30 +++---
 xen/arch/x86/shutdown.c           |    3 +-
 xen/arch/x86/time.c               |    2 +-
 xen/arch/x86/x86_64/asm-offsets.c |    8 ++
 xen/arch/x86/xen.lds.S            |    2 -
 xen/common/efi/boot.c             |  441 
+++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------
 xen/common/efi/runtime.c          |   11 ++-
 xen/drivers/acpi/osl.c            |    2 +-
 xen/include/xen/efi.h             |    6 +-
 xen/include/xen/multiboot2.h      |  169 ++++++++++++++++++++++++++++++++
 21 files changed, 1018 insertions(+), 344 deletions(-)

Daniel Kiper (18):
      x86/boot/reloc: mask out MBI_BOOTDEV from mbi flags
      x86/boot/reloc: create generic alloc and copy functions
      x86/boot: use %ecx instead of %eax
      xen/x86: add multiboot2 protocol support
      efi: split efi_enabled to efi_platform and efi_loader
      x86: remove commented out stale references to efi_enabled
      efi: run EFI specific code on EFI platform only
      efi: build xen.gz with EFI code
      efi: create efi_init()
      efi: create efi_console_set_mode()
      efi: create efi_get_gop()
      efi: create efi_find_gop_mode()
      efi: create efi_tables()
      efi: create efi_variables()
      efi: create efi_set_gop_mode()
      efi: create efi_exit_boot()
      x86/efi: create new early memory allocator
      x86: add multiboot2 protocol support for EFI platforms


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.