From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Kiper Subject: [PATCH RFC 0/7] xen: Break multiboot (v1) dependency and add multiboot2 support Date: Sat, 9 Aug 2014 01:03:59 +0200 Message-ID: <1407539046-16910-1-git-send-email-daniel.kiper@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XFtDC-0003IW-7d for xen-devel@lists.xenproject.org; Fri, 08 Aug 2014 23:04:38 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, ross.philipson@citrix.com, roy.franz@linaro.org, ning.sun@intel.com, jbeulich@suse.com, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org Hi, This patch series breaks multiboot (v1) protocol dependency and adds multiboot2 support. It laying 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. It is RFC patch series so please do not apply it. I will be preparing for 3 week travel on Monday. It means that I can be a bit unresponsive. Daniel xen/arch/x86/Makefile | 1 + xen/arch/x86/boot/cmdline.S | 9 +- xen/arch/x86/boot/head.S | 143 +++++++++++++++++++++++++++---- xen/arch/x86/boot/reloc.c | 254 ++++++++++++++++++++++++++++++++++++++++++++---------- xen/arch/x86/boot/x86_64.S | 10 ++- xen/arch/x86/dmi_scan.c | 7 +- xen/arch/x86/domain_build.c | 24 +++--- xen/arch/x86/efi/boot.c | 216 +++++++++++++++++++++++----------------------- xen/arch/x86/efi/efi.h | 3 - xen/arch/x86/efi/runtime.c | 52 ++++++++--- xen/arch/x86/init_xbi.c | 254 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/x86/microcode.c | 39 ++++----- xen/arch/x86/mpparse.c | 9 +- xen/arch/x86/platform_hypercall.c | 19 ++-- xen/arch/x86/setup.c | 342 ++++++++++++++++++++++-------------------------------------------------- xen/arch/x86/x86_64/asm-offsets.c | 5 +- xen/drivers/acpi/osl.c | 9 +- xen/drivers/video/vesa.c | 7 +- xen/drivers/video/vga.c | 18 ++-- 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 | 70 +++++++++++++++ xen/include/asm-x86/setup.h | 10 +-- xen/include/asm-x86/xbi.h | 117 +++++++++++++++++++++++++ xen/include/xen/efi.h | 10 --- xen/include/xen/multiboot2.h | 386 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xen/include/xen/vga.h | 18 ---- xen/include/xsm/xsm.h | 14 +-- xen/xsm/xsm_core.c | 6 +- xen/xsm/xsm_policy.c | 14 ++- 31 files changed, 1512 insertions(+), 570 deletions(-) Daniel Kiper (7): xen/x86: Add mbd.h header file xen/x86: Add xbi.h header file xen: Add multiboot2.h header file xen/x86: Migrate to XBI structure xen/x86: Add multiboot2 protocol support xen: Remove redundant xen/include/xen/vga.h file xen/x86: Add new line to the end of graphics mode error message