Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GlsNB-0002he-N7 for mharc-grub-devel@gnu.org; Sun, 19 Nov 2006 14:30:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlsNA-0002hZ-Aw for grub-devel@gnu.org; Sun, 19 Nov 2006 14:30:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlsN8-0002gp-Og for grub-devel@gnu.org; Sun, 19 Nov 2006 14:30:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlsN8-0002gl-L5 for grub-devel@gnu.org; Sun, 19 Nov 2006 14:30:34 -0500 Received: from [64.233.166.180] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GlsN8-0000ET-ES for grub-devel@gnu.org; Sun, 19 Nov 2006 14:30:34 -0500 Received: by py-out-1112.google.com with SMTP id p76so855797pyb for ; Sun, 19 Nov 2006 11:29:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=d7c2DmQn1AMAsMCtL9S4QUiIeq/oD7apc89kdpdaFZCLeK81vVOnfkV/fQwf3LVOn9GiAqeg9VP1Ixa+OqPuKd43JAhhWiGzOyX4p9VzeSJaYq1r946iFZB5gFKJ5QH/Rn/1K8jobrJd5HpuGMX/Jie+bmg/o6ygRmjGDsSCB9E= Received: by 10.35.60.15 with SMTP id n15mr393688pyk.1163964597130; Sun, 19 Nov 2006 11:29:57 -0800 (PST) Received: from ?10.0.0.5? ( [64.135.199.23]) by mx.google.com with ESMTP id 20sm26023650nzp.2006.11.19.11.29.55; Sun, 19 Nov 2006 11:29:56 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <20061119165507.GA2854@saphi> References: <1163797845.20484.20.camel@basalt> <3a73d3420611190226k23254d59vd3e6acb189a585be@mail.gmail.com> <20061119165507.GA2854@saphi> Content-Type: multipart/alternative; boundary=Apple-Mail-11-973883815 Message-Id: <016CAED8-2BCB-43EF-8A2E-7939D6CDA186@gmail.com> From: "Andrei E. Warkentin" Date: Sun, 19 Nov 2006 13:31:17 -0600 To: The development of GRUB 2 X-Mailer: Apple Mail (2.752.2) Subject: Re: multiboot2: remove "a.out kludge" requirement 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: Sun, 19 Nov 2006 19:30:36 -0000 --Apple-Mail-11-973883815 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Well, couldn't the compressed .text/.rdata be stored in an ELF section itself? Andrei Evgenievich Warkentin andrey.warkentin@gmail.com Cell: (+1) (847) 321-15-55 On 19.11.2006, at 10:55, Tristan Gingold wrote: > On Sun, Nov 19, 2006 at 10:26:54AM +0000, Brano Zarnovican wrote: >> On 11/17/06, Andrei E. Warkentin wrote: >>> >>> How about having a custom e_type for ELF images booted by GRUB? >>> Something >>> in >> >> Guys at Xen solved it nicely with custom ELF section. Somewhere in >> your OS code you create a section with specific name, bootloader will >> be looking for. For multiboot it might look like: >> >> .section __multiboot_v2 >> .long MAGIC_THIS >> .long FLAGS_THAT >> >> Header position is exactly defined in ELF which Grub already speaks. >> It does not need to be in first 8kB. The downside is that it will >> make >> multiboot ELF-only. >> >> Oh. Did I mention that you can have more than one header in a >> single image ? >> (for non-compatible multiboot versions ;) > But using notes make it almost impossible to use a compressed image. > (This is almost a requirement for ia64, but I also think ia64 does not > require these flags). > > Tristan. > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel --Apple-Mail-11-973883815 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-5 Well, couldn't the compressed = .text/.rdata be stored in an ELF section itself?

Andrei = Evgenievich Warkentin
andrey.warkentin@gmail.com<= /DIV>
Cell: (+1) (847) 321-15-55


On = 19.11.2006, at 10:55, Tristan Gingold wrote:

On Sun, Nov 19, 2006 at 10:26:54AM +0000, Brano = Zarnovican wrote:
On 11/17/06, Andrei E. Warkentin <andrey.warkentin@gmail.com&= gt; wrote:

How about = having a custom e_type for ELF images booted by GRUB? Something=A0
in
=

Guys at Xen solved it nicely with custom ELF = section. Somewhere in
your OS code you create a = section with specific name, bootloader will
be = looking for. For multiboot it might look like:

.section = __multiboot_v2
=A0=A0 =A0 =A0 .long = MAGIC_THIS
=A0=A0 =A0 =A0 .long = FLAGS_THAT

Header position is exactly defined in ELF which Grub = already speaks.
It does not need to be in first = 8kB. The downside is that it will make
Oh. Did I mention that you can = have more than one header in a single image ?
(for non-compatible multiboot versions ;)
=
But using notes make it almost = impossible to use a compressed image.
(This is = almost a requirement for ia64, but I also think ia64 does not
require these flags).




Grub-devel mailing list
=

= --Apple-Mail-11-973883815--