From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cFlNo-0000cW-Ii for mharc-grub-devel@gnu.org; Sat, 10 Dec 2016 12:24:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFlNm-0000bz-Bi for grub-devel@gnu.org; Sat, 10 Dec 2016 12:24:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFlNj-0002rD-8U for grub-devel@gnu.org; Sat, 10 Dec 2016 12:24:22 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFlNi-0002r0-Vw for grub-devel@gnu.org; Sat, 10 Dec 2016 12:24:19 -0500 Received: by mail-lf0-f67.google.com with SMTP id p100so2624134lfg.2 for ; Sat, 10 Dec 2016 09:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=rPzQVW5FI3CtJlH8AiztUx5FqGPDru+oQ6DhDFr4zJk=; b=ErkR2kV4giBkfxZnVom7WVDlvUEpcFFHqRGFIqvXJNtTHAJ4CnkVLkCd++Wo584MhB 5UYu2+uUGZoUa3t1To04WxkYtYRzMJNINtTYyuAzu8TAdujyNvjrQkPvq/yNLbiBfRRg fffkjq5m4zVersI3b3ojiTv1wzaps5zISDKOU7qwM/+TRDwzvG++ncJxqyHiO69ex8Sf zPsTeEltXVrHSxyVmbHJ4f1bSLT1fdAFyZQ9BX511wZ+W80pyBH3z/TwpbRe1okbM3xr eJpQDgIgGHzUp05SIuBWInTQh8/ipTkKCmcz/JrRCH5ktZXPd8k4wMueC81IZ13XWbO1 nVhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rPzQVW5FI3CtJlH8AiztUx5FqGPDru+oQ6DhDFr4zJk=; b=bMvE1stQ1fIh65seb4oGR6/zt2b1Swkg26N4GjLizq+nEyX87c/VOydB9iwQWpW4T8 sqgefd2BUQF8JuaJTd1t2ZIxv/shzy0TifjnEhQujnxmg+JJQ6KFs+qLOq7d9A42P43z gT5E6vbXl0jMtNsbefOC75oIv33en24zT9+lboUxBn6vyRvkI1MWZsM65+p/4HfUVNn8 Kdg4Ccc7cHAZ9U7GsqYughZisrEJU+gHAFI4Cc5xKjQ4bYgVoixqHUVWiNOhg6l+SL5P FwX+k1XO/0amgLIgjHnwAEG+7O7nrFyhBM++FCO9jQdumzkQc0ST4bjglMwyu+RNpZye /oZQ== X-Gm-Message-State: AKaTC00RloNTkejBpvyy+VhJGZBEYE9pSQxD4tDzjSjAoYug3mLf2esPjD/BuvamnB2g7A== X-Received: by 10.25.76.194 with SMTP id z185mr11829145lfa.182.1481390597595; Sat, 10 Dec 2016 09:23:17 -0800 (PST) Received: from [192.168.1.44] (ppp109-252-90-110.pppoe.spdop.ru. [109.252.90.110]) by smtp.gmail.com with ESMTPSA id h42sm980746lfi.30.2016.12.10.09.23.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Dec 2016 09:23:16 -0800 (PST) Subject: Re: [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32 To: Daniel Kiper , grub-devel@gnu.org, xen-devel@lists.xenproject.org References: <1481064781-16949-1-git-send-email-daniel.kiper@oracle.com> <1481064781-16949-2-git-send-email-daniel.kiper@oracle.com> Cc: andrew.cooper3@citrix.com, eric.snowberg@oracle.com, jgross@suse.com, konrad.wilk@oracle.com, phcoder@gmail.com, seth.goldberg@oracle.com, tsoome@me.com From: Andrei Borzenkov Message-ID: <05f42471-ac70-08a5-2599-499f54cf21a9@gmail.com> Date: Sat, 10 Dec 2016 20:23:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1481064781-16949-2-git-send-email-daniel.kiper@oracle.com> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.67 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: Sat, 10 Dec 2016 17:24:23 -0000 07.12.2016 01:52, Daniel Kiper пишет: > u_phys is used just in two places and sometimes it may confuse reader. > Additionally, GRUB multiboot2 implementation does not use u_phys anywhere. > So, replace it with basic well defined and used in implementation u32 type. > > Signed-off-by: Daniel Kiper > --- > doc/multiboot.texi | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index 4b92918..2bda9b7 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_phys > -The type of unsigned data of the same size as target architecture physical address size. > - > @item u_virt > The type of unsigned data of the same size as target architecture virtual address size. > So if I understand it correctly, any address used in multiboot2 is limited to 32 bit, so anything that is relevant to boot protocol must reside below 4G. Is my assumption correct?