From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cEOcK-00064x-Su for mharc-grub-devel@gnu.org; Tue, 06 Dec 2016 17:53:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEOcI-00063g-C1 for grub-devel@gnu.org; Tue, 06 Dec 2016 17:53:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEOcH-0005lt-Kb for grub-devel@gnu.org; Tue, 06 Dec 2016 17:53:42 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:33050) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEOcH-0005lY-Am for grub-devel@gnu.org; Tue, 06 Dec 2016 17:53:41 -0500 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 Cc: andrew.cooper3@citrix.com, arvidjaar@gmail.com, eric.snowberg@oracle.com, jgross@suse.com, konrad.wilk@oracle.com, phcoder@gmail.com, seth.goldberg@oracle.com, tsoome@me.com Subject: [MULTIBOOT2 DOC PATCH v3 02/13] multiboot2: Replace u_virt with u32 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] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 22:53:43 -0000 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 -- 1.7.10.4