Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Geieo-0008Ms-LG for mharc-grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Geien-0008L4-Kv for grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Geiem-0008Jf-Bf for grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Geiem-0008JP-3s for grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:12 -0500 Received: from [207.69.195.70] (helo=pop-borzoi.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Geiem-0003dz-4M for grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:12 -0500 Received: from user-0vvdf2d.cable.mindspring.com ([63.246.188.77] helo=[192.168.0.2]) by pop-borzoi.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1Geiei-0004ok-00 for grub-devel@gnu.org; Mon, 30 Oct 2006 20:43:09 -0500 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <200610302015.45634.okuji@enbug.org> References: <1161892715.17811.33.camel@basalt.austin.ibm.com> <200610281611.01094.okuji@enbug.org> <1162060334.7640.8.camel@diesel> <200610302015.45634.okuji@enbug.org> Content-Type: text/plain Date: Mon, 30 Oct 2006 19:43:07 -0600 Message-Id: <1162258987.28437.13.camel@diesel> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 7bit Subject: Re: some multiboot2 comments X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 01:43:13 -0000 On Mon, 2006-10-30 at 21:15 +0200, Yoshinori K. Okuji wrote: > On Saturday 28 October 2006 20:32, Hollis Blanchard wrote: > > Are you saying that given tag->key == foo, tag->length == sizeof(struct > > tag_foo)? I think it makes far more sense to allow 'length' to be > > independent of 'key', and that means we don't need this 'reserved' > > stuff. > > 'length' is sometimes somehow independent. When passing data whose size is > variable, 'length' specifies the size. The size of an item is indirectly > defined by 'length'. The size of an item can be different from the size of > data, because of a padding for an alignment. That definition doesn't take advantage of the flexibility 'length' could give us. We should be able to use arbitrary values for 'length', even when the tag structure size is well-defined. There is no reason not to... -Hollis