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

[Xen-devel] [PATCH for-xen-4.5 v4 00/18] xen: Break multiboot (v1) dependency and add multiboot2 support



Hi all,

This patch series breaks multiboot (v1) protocol dependency and adds
multiboot2 support. It lays down the foundation for EFI + GRUB2 + Xen
development. Detailed description of ideas and thoughts you will
find in commit message for every patch. If something is not obvious
please drop me a line.

I took into account all suggestions sent to me up until now.

ARM build has been tested. However, I am not able to test generated
binaries because I do not have a required hardware under my feet.
Could you do some tests guys?

This is my last attempt to have this series in 4.5. If it will be not
accepted for 4.5 I will continue multiboot2 + EFI development on the
base of this patch series. Now I am almost sure that we are going in
right direction. I hope that I will be able to post multiboot2 + EFI
patches in about 1 month.

Daniel

 xen/Makefile                      |    2 +-
 xen/arch/x86/Makefile             |    1 +
 xen/arch/x86/boot/Makefile        |    8 +-
 xen/arch/x86/boot/build32.mk      |    3 +-
 xen/arch/x86/boot/cmdline.S       |    9 +-
 xen/arch/x86/boot/head.S          |  157 ++++++++++++++++++++++++++++++-----
 xen/arch/x86/boot/reloc.c         |  223 
++++++++++++++++++++++++++++++++++++++++---------
 xen/arch/x86/boot/x86_64.S        |   10 ++-
 xen/arch/x86/boot_info.c          |  257 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/dmi_scan.c           |   11 ++-
 xen/arch/x86/domain_build.c       |   24 +++---
 xen/arch/x86/efi/efi-boot.h       |  173 +++++++++++++++++++-------------------
 xen/arch/x86/microcode.c          |   39 ++++-----
 xen/arch/x86/mpparse.c            |   13 ++-
 xen/arch/x86/platform_hypercall.c |   17 ++--
 xen/arch/x86/setup.c              |  369 
+++++++++++++++++++++++++++-------------------------------------------------------
 xen/arch/x86/x86_64/asm-offsets.c |   15 +++-
 xen/common/efi/boot.c             |    1 -
 xen/common/efi/efi.h              |   11 +++
 xen/common/efi/runtime.c          |   55 +++++++++++--
 xen/drivers/acpi/osl.c            |   13 ++-
 xen/drivers/video/vesa.c          |    7 +-
 xen/drivers/video/vga.c           |   18 ++--
 xen/include/asm-x86/boot_info.h   |  124 ++++++++++++++++++++++++++++
 xen/include/asm-x86/config.h      |    2 -
 xen/include/asm-x86/e820.h        |    8 --
 xen/include/asm-x86/edd.h         |    6 --
 xen/include/asm-x86/mbd.h         |   80 ++++++++++++++++++
 xen/include/asm-x86/setup.h       |   12 +--
 xen/include/xen/efi.h             |    7 ++
 xen/include/xen/multiboot2.h      |  153 ++++++++++++++++++++++++++++++++++
 xen/include/xen/vga.h             |   18 ----
 xen/include/xsm/xsm.h             |   16 ++--
 xen/xsm/xsm_core.c                |    6 +-
 xen/xsm/xsm_policy.c              |   10 +--
 35 files changed, 1344 insertions(+), 534 deletions(-)

Daniel Kiper (18):
      xen/makefile: clean target should remove xen.efi binary
      x86/boot: fix reloc.S build dependencies
      x86: define cmdline_cook() loader_name argument as a const
      x86/boot: use constant in head.S instead of hardcoded value
      x86/boot/reloc: create generic alloc and copy functions
      x86: introduce MultiBoot Data (MBD) type
      x86/efi: add place_string_u32() function
      x86: introduce boot_info structure
      x86: move boot_loader_name from mbi to boot_info
      x86: move cmdline from mbi to boot_info
      x86: move legacy BIOS memory map stuff to boot_info
      x86: move modules data from mbi to boot_info and remove mbi
      x86: move EFI memory map stuff to boot_info
      x86: move MPS, ACPI and SMBIOS data to boot_info
      x86: move video data to boot_info
      x86: move HDD data to boot_info
      x86/boot: use %ecx instead of %eax
      xen/x86: add multiboot2 protocol support


_______________________________________________
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®.