From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZHCBo-0003Yh-JI for mharc-grub-devel@gnu.org; Mon, 20 Jul 2015 10:37:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHCBi-0003OJ-TT for grub-devel@gnu.org; Mon, 20 Jul 2015 10:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHCBf-0003pC-NR for grub-devel@gnu.org; Mon, 20 Jul 2015 10:37:02 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:25184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHCBf-0003p2-Hm for grub-devel@gnu.org; Mon, 20 Jul 2015 10:36:59 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t6KEatsJ019688 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Jul 2015 14:36:55 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t6KEatPJ002835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 20 Jul 2015 14:36:55 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t6KEaKVY000569; Mon, 20 Jul 2015 14:36:54 GMT Received: from olila.local.net-space.pl (/10.175.255.176) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Jul 2015 07:36:20 -0700 From: Daniel Kiper To: xen-devel@lists.xenproject.org, grub-devel@gnu.org Subject: [PATCH v2 0/6] multiboot2: Add two extensions and fix some issues Date: Mon, 20 Jul 2015 16:35:48 +0200 Message-Id: <1437402954-7375-1-git-send-email-daniel.kiper@oracle.com> X-Mailer: git-send-email 1.7.10.4 X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 Cc: jgross@suse.com, keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, stefano.stabellini@eu.citrix.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, jbeulich@suse.com, phcoder@gmail.com, wei.liu2@citrix.com, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 14:37:07 -0000 Hi, This patch series: - enables EFI boot services usage in loaded images by multiboot2 protocol, - add support for multiboot2 protocol compatible relocatable images, - fixes two minor issues. Daniel .gitignore | 3 ++ grub-core/Makefile.core.def | 1 + grub-core/lib/i386/relocator.c | 53 +++++++++++++++++++++ grub-core/lib/i386/relocator64_efi.S | 77 ++++++++++++++++++++++++++++++ grub-core/lib/relocator.c | 2 +- grub-core/loader/i386/multiboot_mbi.c | 6 ++- grub-core/loader/multiboot.c | 41 +++++++++++++--- grub-core/loader/multiboot_elfxx.c | 28 ++++++++--- grub-core/loader/multiboot_mbi2.c | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------- include/grub/i386/multiboot.h | 11 +++++ include/grub/i386/relocator.h | 21 +++++++++ include/grub/multiboot.h | 4 +- include/multiboot2.h | 49 +++++++++++++++++++ 13 files changed, 423 insertions(+), 72 deletions(-) Daniel Kiper (6): gitignore: Ignore *.orig, *.rej and *.swp files relocator: Do not use memory region if its starta is smaller than size i386/relocator: Add grub_relocator64_efi relocator multiboot2: Add tags used to pass ImageHandle to loaded image multiboot2: Add support for relocatable images multiboot2: Do not pass memory maps to image if EFI boot services are enabled