Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fQcEh-0001bQ-CD for mharc-grub-devel@gnu.org; Wed, 06 Jun 2018 13:28:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQcEf-0001bC-4D for grub-devel@gnu.org; Wed, 06 Jun 2018 13:28:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQcEa-00066e-7b for grub-devel@gnu.org; Wed, 06 Jun 2018 13:28:37 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:47268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQcEZ-00065u-Sf for grub-devel@gnu.org; Wed, 06 Jun 2018 13:28:32 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w56HFo7E077834; Wed, 6 Jun 2018 17:28:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2017-10-26; bh=/Br34jydFK5849g1fEbdlOraa+hAooNEY74brL8ZlNU=; b=Bivk0eioe3Kl8JkpNw6UPYWChUWPFlI9UNLxmM0umvk1Vx5/aRRF82mzaH2PKdRcfE0J qpXtD1+KR8OPZLd55FVzLGFAtrTWuimVGlG5DLnKcWNbCW/J3bo4j+wakIOsTNhUqmOW U0wAHku1N9VIyL6kHQUsdAcxrP80vtq33DpEqIY7oI1/ub9RbkMo+5oWM8IU6y8chn9G LB+35ik/yiMAR0VVF1bX0jT7UnfBS0NN+3p7NJYT6GgseJfuv0ClnrdBkwdKCszBCEU9 uw+WAd87nKpYDo7O+8RGo5qSqM9etlm+TwZJx1vr9wnAZhYzpBEDtJUjuV7oVw8OS4d7 PA== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2jbvypnnjd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 Jun 2018 17:28:26 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w56HSPtY027171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Jun 2018 17:28:25 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w56HSOeo022405; Wed, 6 Jun 2018 17:28:25 GMT Received: from olila.local.net-space.pl (/10.175.170.108) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 06 Jun 2018 10:28:24 -0700 Date: Wed, 6 Jun 2018 19:28:20 +0200 From: Daniel Kiper To: Roger Pau Monne Cc: grub-devel@gnu.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH] multiboot2: clarify usage of the address tag Message-ID: <20180606172820.GW20016@olila.local.net-space.pl> References: <20180605095536.44938-1-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20180605095536.44938-1-roger.pau@citrix.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8916 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806060196 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by userp2120.oracle.com id w56HFo7E077834 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 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: Wed, 06 Jun 2018 17:28:38 -0000 On Tue, Jun 05, 2018 at 11:55:36AM +0200, Roger Pau Monne wrote: > Add a note to spell out that if the address tag is not present the > file should be loaded using the elf header. > > Signed-off-by: Roger Pau Monn=E9 > --- > Cc: Daniel Kiper > Cc: xen-devel@lists.xenproject.org > --- > doc/multiboot.texi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index 2e2d7e74a..196f9c17a 100644 > --- a/doc/multiboot.texi > +++ b/doc/multiboot.texi > @@ -509,6 +509,12 @@ assumes that no bss segment is present. > > @end table > > +Note: This information does not need to be provided if the kernel > +image is in elf format, but it must be provided if the image is in s/elf/@sc{elf}/ > +a.out format or in some other format. Compliant boot loaders must be > +able to load images that are either in elf format or contain the Ditto. > +address tag embedded in the Multiboot header. s/Multiboot/Multiboot2/ I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header. Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph. Daniel