From patchwork Tue Dec 6 22:52:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kiper X-Patchwork-Id: 9463351 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 75CD760231 for ; Tue, 6 Dec 2016 22:57:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 679FB27CF5 for ; Tue, 6 Dec 2016 22:57:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C7C2284E9; Tue, 6 Dec 2016 22:57:02 +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 002EC27CF5 for ; Tue, 6 Dec 2016 22:57:01 +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 1cEOcM-0007Kb-Rg; Tue, 06 Dec 2016 22:53:46 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEOcL-0007KK-Tk for xen-devel@lists.xenproject.org; Tue, 06 Dec 2016 22:53:46 +0000 Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id 10/A3-01948-97147485; Tue, 06 Dec 2016 22:53:45 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRWlGSWpSXmKPExsXSO6nOVbfC0T3 CoP2IusX3LZOZHBg9Dn+4whLAGMWamZeUX5HAmtE04Q9TwVn+isuH17A2MN7i7mLk5BASmMAk seacehcjF5D9h1Fi3bdWNghnA6PEha5prBDOBEaJCZf2MIG0sAnoSFz88pAdxBYRMJN4NrOBE aSIWeAgo0TTti1gRcICPhI/XvcygtgsAqoSX04cAGvgFXCXmLZxIViNhICiRPezCWwgNqeAh8 SfX3+YIW5ylzjRcIEVosZQ4vTDbYwTGPkWMDKsYtQoTi0qSy3SNTTWSyrKTM8oyU3MzNE1NDD Vy00tLk5MT81JTCrWS87P3cQIDBYGINjB+G+b5yFGSQ4mJVFecQX3CCG+pPyUyozE4oz4otKc 1OJDjDIcHEoSvLYOQDnBotT01Iq0zBxg2MKkJTh4lER4L4KkeYsLEnOLM9MhUqcYFaXEeQtAE gIgiYzSPLg2WKxcYpSVEuZlBDpEiKcgtSg3swRV/hWjOAejkjCvO8gUnsy8Erjpr4AWMwEtPn HcGWRxSSJCSqqBUb2e/bzPutbt7stT+ZhdZ+WxbmLS5GPucU+fcGn+zhjugpBMh10HNkmGc1u dFfX7++0Rf7qV0cp6E6WWhY+SDDrf2vv9enjZwz47b7HUyQp5FWWJjxKnc//uFZ6Z7LGeV+nR 5EJN3227jbfYJi+7LcX5es318NnLytaxJmobiBoXMYcqMQgrsRRnJBpqMRcVJwIAklGEd5ACA AA= X-Env-Sender: daniel.kiper@oracle.com X-Msg-Ref: server-13.tower-206.messagelabs.com!1481064815!58535069!1 X-Originating-IP: [141.146.126.69] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTQxLjE0Ni4xMjYuNjkgPT4gMjc3MjE4\n X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50001 invoked from network); 6 Dec 2016 22:53:38 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-13.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 6 Dec 2016 22:53:38 -0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uB6MrZeG003025 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Dec 2016 22:53:35 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id uB6MrZb3009409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Dec 2016 22:53:35 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uB6MrYFk014827; Tue, 6 Dec 2016 22:53:34 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:34 -0800 From: Daniel Kiper To: grub-devel@gnu.org, xen-devel@lists.xenproject.org Date: Tue, 6 Dec 2016 23:52:50 +0100 Message-Id: <1481064781-16949-3-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 02/13] multiboot2: Replace u_virt with u32 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 u_virt may sometimes confuse reader especially if description says something completely different. Additionally, GRUB multiboot2 implementation does not use u_virt anywhere. So, replace it with basic well defined and used in implementation u32 type. Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 2bda9b7..7d12ab0 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -299,9 +299,6 @@ little-endian, u32 is coded in little-endian. The type of unsigned 64-bit data. Because the target architecture is little-endian, u64 is coded in little-endian. -@item u_virt -The type of unsigned data of the same size as target architecture virtual address size. - @end table @@ -407,7 +404,7 @@ and @samp{header_length}), must have a 32-bit unsigned sum of zero. @node Header tags @subsection General tag structure -Tags constitutes a buffer of structures following each other padded on @samp{u_virt} size. +Tags constitutes a buffer of structures following each other padded on @samp{u32} size. Every structure has following format: @example @@ -460,10 +457,10 @@ actually be present. E.g. on a videoless system even if you requested tag u16 | type = 2 | u16 | flags | u32 | size | -u_virt | header_addr | -u_virt | load_addr | -u_virt | load_end_addr | -u_virt | bss_end_addr | +u32 | header_addr | +u32 | load_addr | +u32 | load_end_addr | +u32 | bss_end_addr | +-------------------+ @end group @end example @@ -511,7 +508,7 @@ assumes that no bss segment is present. u16 | type = 3 | u16 | flags | u32 | size | -u_virt | entry_addr | +u32 | entry_addr | +-------------------+ @end group @end example