From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1afqry-00057l-5f for mharc-grub-devel@gnu.org; Tue, 15 Mar 2016 11:26:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afqrt-0004yX-EW for grub-devel@gnu.org; Tue, 15 Mar 2016 11:26:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afqrn-0006LF-Sf for grub-devel@gnu.org; Tue, 15 Mar 2016 11:26:45 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:30189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afqrn-0006Ko-D3 for grub-devel@gnu.org; Tue, 15 Mar 2016 11:26:39 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2FFQQeC026648 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Mar 2016 15:26:26 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u2FFQPpq021050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 15 Mar 2016 15:26:25 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u2FFQNUe028583; Tue, 15 Mar 2016 15:26:23 GMT Received: from olila.local.net-space.pl (/10.175.228.51) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Mar 2016 08:26:23 -0700 From: Daniel Kiper To: xen-devel@lists.xenproject.org, grub-devel@gnu.org Subject: [GRUB2 PATCH v4 0/4] multiboot2: Add two extensions Date: Tue, 15 Mar 2016 16:25:57 +0100 Message-Id: <1458055562-24950-1-git-send-email-daniel.kiper@oracle.com> X-Mailer: git-send-email 1.7.10.4 X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 Cc: jgross@suse.com, eric.snowberg@oracle.com, arvidjaar@gmail.com, andrew.cooper3@citrix.com, stefano.stabellini@eu.citrix.com, cardoe@cardoe.com, pgnet.dev@gmail.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, jbeulich@suse.com, phcoder@gmail.com, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org, seth.goldberg@oracle.com 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: Tue, 15 Mar 2016 15:26:46 -0000 Hi, This patch series: - enables EFI boot services usage in loaded images by multiboot2 protocol, - add support for multiboot2 protocol compatible relocatable images. Earlier versions of this patch series are extensively tested and used internally at least in Oracle. It should be mentioned that this release does not change any functionality introduced by earlier releases. It just takes into account comments posted by various people. Daniel grub-core/Makefile.core.def | 1 + grub-core/lib/i386/relocator64.S | 11 ++++ grub-core/lib/x86_64/efi/relocator.c | 76 ++++++++++++++++++++++++++ grub-core/loader/i386/multiboot_mbi.c | 13 ++++- grub-core/loader/multiboot.c | 62 +++++++++++++++++---- grub-core/loader/multiboot_elfxx.c | 52 ++++++++++++------ grub-core/loader/multiboot_mbi2.c | 232 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------- include/grub/i386/multiboot.h | 11 ++++ include/grub/i386/relocator.h | 21 +++++++ include/grub/multiboot.h | 22 +++++++- include/multiboot2.h | 41 ++++++++++++++ 11 files changed, 441 insertions(+), 101 deletions(-) Daniel Kiper (4): i386/relocator: Add grub_relocator64_efi relocator multiboot2: Add tags used to pass ImageHandle to loaded image multiboot2: Do not pass memory maps to image if EFI boot services are enabled multiboot2: Add support for relocatable images