From patchwork Tue Dec 6 22:52:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kiper X-Patchwork-Id: 9463369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D80CA60231 for ; Tue, 6 Dec 2016 22:57:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA69C27CF5 for ; Tue, 6 Dec 2016 22:57:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF330284C0; Tue, 6 Dec 2016 22:57:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3112E27CF5 for ; Tue, 6 Dec 2016 22:57:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEOcb-0007Vg-Aj; Tue, 06 Dec 2016 22:54:01 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEOcZ-0007Ui-VV for xen-devel@lists.xenproject.org; Tue, 06 Dec 2016 22:54:00 +0000 Received: from [193.109.254.147] by server-4.bemta-6.messagelabs.com id 99/85-28568-78147485; Tue, 06 Dec 2016 22:53:59 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRWlGSWpSXmKPExsUyZ7p8oG6bo3u EwfXFwhbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8bzefeYCzoFKrYem8HcwHiap4uRi0NIYAKT xOzTjYxdjJxAzldGiX2zOSASGxgltl54wQpVxShx5uMWdpAqNgEdiYtfHoLZIgJmEs9mNjCCF DELHGSUaNq2hQkkISwQK/Hj+VewsSwCqhK7bu4Ha+AVcJdou76NBcSWEFCU6H42gQ3E5hTwkP jz6w8zxBnuEicaLrBC1BhKnH64jXECI98CRoZVjBrFqUVlqUW6RoZ6SUWZ6RkluYmZObqGBmZ 6uanFxYnpqTmJScV6yfm5mxiBwcIABDsY/ywLOMQoycGkJMorruAeIcSXlJ9SmZFYnBFfVJqT WnyIUYaDQ0mCd6c9UE6wKDU9tSItMwcYtjBpCQ4eJRHeiw5Aad7igsTc4sx0iNQpRkUpcV5Gk IQASCKjNA+uDRYrlxhlpYR5GYEOEeIpSC3KzSxBlX/FKM7BqCTMywIyhSczrwRu+iugxUxAi0 8cdwZZXJKIkJJqYLRt4b7FHfDdIvff1TL7xZs2SVv+siiP8pK3Szu6fFk3Z0oyf9XygHt31zf csD239tVJp+jmCc5LRV/nWnHUnZAM7JX6lctndWHqLq4uk1W3vu++uXPDOad3yy64bL7/xJnZ /1HRI6njRQrzHpw9zyHqO1HUfVnc9+DDi4JnpdXempIvY6HtWaPEUpyRaKjFXFScCAAzzC7xk AIAAA== X-Env-Sender: daniel.kiper@oracle.com X-Msg-Ref: server-3.tower-27.messagelabs.com!1481064836!75748094!1 X-Originating-IP: [156.151.31.81] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTU2LjE1MS4zMS44MSA9PiAyODgzMzk=\n X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62446 invoked from network); 6 Dec 2016 22:53:58 -0000 Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by server-3.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 6 Dec 2016 22:53:58 -0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uB6MrqVL006927 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Dec 2016 22:53:52 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id uB6MrqQS010096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Dec 2016 22:53:52 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id uB6MroDQ024228; Tue, 6 Dec 2016 22:53:51 GMT Received: from olila.local.net-space.pl (/10.175.227.19) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 06 Dec 2016 14:53:49 -0800 From: Daniel Kiper To: grub-devel@gnu.org, xen-devel@lists.xenproject.org Date: Tue, 6 Dec 2016 23:52:56 +0100 Message-Id: <1481064781-16949-9-git-send-email-daniel.kiper@oracle.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1481064781-16949-1-git-send-email-daniel.kiper@oracle.com> References: <1481064781-16949-1-git-send-email-daniel.kiper@oracle.com> X-Source-IP: userv0021.oracle.com [156.151.31.71] Cc: jgross@suse.com, eric.snowberg@oracle.com, arvidjaar@gmail.com, andrew.cooper3@citrix.com, tsoome@me.com, seth.goldberg@oracle.com, phcoder@gmail.com Subject: [Xen-devel] [MULTIBOOT2 DOC PATCH v3 08/13] multiboot2: Add description of EFI image handle tags X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 28 ++++++++++++++++++++++++++++ doc/multiboot2.h | 16 ++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 9f13e74..1581220 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -1295,6 +1295,34 @@ u32 | size = 8 | This tag indicates ExitBootServices wasn't called +@subsection EFI 32-bit image handle pointer +@example +@group + +-------------------+ +u32 | type = 19 | +u32 | size = 12 | +u32 | pointer | + +-------------------+ +@end group +@end example + +This tag contains pointer to EFI i386 image handle. +Usually it is boot loader image handle. + +@subsection EFI 64-bit image handle pointer +@example +@group + +-------------------+ +u32 | type = 20 | +u32 | size = 16 | +u64 | pointer | + +-------------------+ +@end group +@end example + +This tag contains pointer to EFI amd64 image handle. +Usually it is boot loader image handle. + @node Examples @chapter Examples diff --git a/doc/multiboot2.h b/doc/multiboot2.h index 240400d..b85cb13 100644 --- a/doc/multiboot2.h +++ b/doc/multiboot2.h @@ -60,6 +60,8 @@ #define MULTIBOOT_TAG_TYPE_NETWORK 16 #define MULTIBOOT_TAG_TYPE_EFI_MMAP 17 #define MULTIBOOT_TAG_TYPE_EFI_BS 18 +#define MULTIBOOT_TAG_TYPE_EFI32_IH 19 +#define MULTIBOOT_TAG_TYPE_EFI64_IH 20 #define MULTIBOOT_HEADER_TAG_END 0 #define MULTIBOOT_HEADER_TAG_INFORMATION_REQUEST 1 @@ -372,6 +374,20 @@ struct multiboot_tag_efi_mmap multiboot_uint8_t efi_mmap[0]; }; +struct multiboot_tag_efi32_ih +{ + multiboot_uint32_t type; + multiboot_uint32_t size; + multiboot_uint32_t pointer; +}; + +struct multiboot_tag_efi64_ih +{ + multiboot_uint32_t type; + multiboot_uint32_t size; + multiboot_uint64_t pointer; +}; + #endif /* ! ASM_FILE */ #endif /* ! MULTIBOOT_HEADER */