All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] a.out kernel loader
Date: Tue, 29 Jan 2008 10:14:33 +0100	[thread overview]
Message-ID: <87bq75at8m.fsf@xs4all.nl> (raw)
In-Reply-To: <ca0f59980801290102y192a3fddjcfd9f80818e967d3@mail.gmail.com> (bean123ch@gmail.com's message of "Tue, 29 Jan 2008 17:02:37 +0800")

Bean <bean123ch@gmail.com> writes:

> On Jan 29, 2008 4:48 PM, Marco Gerards <mgerards@xs4all.nl> wrote:
>> Bean <bean123ch@gmail.com> writes:
>>
>> > On Jan 28, 2008 5:11 PM, Robert Millan <rmh@aybabtu.com> wrote:
>> >> On Mon, Jan 28, 2008 at 04:10:42AM +0800, Bean wrote:
>> >> > > > >
>> >> > > > > How FreeBSD-specific is this?  Will the same module apply to other a.out
>> >> > > > > binaries ?  (I ask since you gave it a generic name)
>> >> > > >
>> >> > > > it's an old format of the unix system:
>> >> > > >
>> >> > > > http://en.wikipedia.org/wiki/A.out
>> >> > >
>> >> > > I know.. I was referring to your loader.
>> >> >
>> >> > it should be generic, but i only test it using the loader from freebsd.
>> >>
>> >> In that case, I'd suggest putting it directly in loader/ (without i386/pc/).
>> >>
>> >> Moving files on CVS is a PITA :-/
>> >
>> > ok, here is the new patch.
>>
>> It would be nice if a.out support could be shared so it can be used
>> for multiboot as well.
>
> you mean adding it to the multiboot module ?

The multiboot standard supports a.out.  It would be nice if it was
also capable of a.out.  So this code can somehow be shared, like ELF
support is shared now.

>> > +/* a_mid */
>> > +#define      MID_ZERO        0       /* unknown - implementation dependent */
>> > +#define      MID_SUN010      1       /* sun 68010/68020 binary */
>> > +#define      MID_SUN020      2       /* sun 68020-only binary */
>> > +#define MID_I386     134     /* i386 BSD binary */
>> > +#define MID_SPARC    138     /* sparc */
>> > +#define      MID_HP200       200     /* hp200 (68010) BSD binary */
>> > +#define      MID_HP300       300     /* hp300 (68020+68881) BSD binary */
>> > +#define      MID_HPUX        0x20C   /* hp200/300 HP-UX binary */
>> > +#define      MID_HPUX800     0x20B   /* hp800 HP-UX binary */
>>
>> Like Robert asked, did you type this yourself?
>
> the header is copied from grub legacy image_aout.h, maybe i can format
> it properly.

Please do not blindly assume the copyright assignments for GRUB Legacy
are ok...  Perhaps they are not, I can't check...

--
Marco




  reply	other threads:[~2008-01-29  9:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27 18:53 [PATCH] a.out kernel loader Bean
2008-01-27 19:41 ` Robert Millan
2008-01-27 19:55   ` Bean
2008-01-27 20:06     ` Robert Millan
2008-01-27 20:10       ` Bean
2008-01-28  9:11         ` Robert Millan
2008-01-28 11:48           ` Bean
2008-01-28 14:37             ` walt
2008-01-28 14:42               ` Bean
2008-01-28 22:04                 ` walt
2008-01-29  6:53                   ` Bean
2008-01-30 12:24                     ` walt
2008-01-30 12:42                       ` Bean
2008-02-01  1:46                         ` walt
2008-02-01  3:12                           ` Bean
2008-01-29  7:11               ` jakllsch
2008-01-29  7:20                 ` Bean
2008-01-29 18:11                   ` jakllsch
2008-01-29 18:26                     ` Bean
2008-01-29  8:56                 ` Robert Millan
2008-01-29  8:48             ` Marco Gerards
2008-01-29  9:02               ` Bean
2008-01-29  9:14                 ` Marco Gerards [this message]
2008-01-29 13:56                   ` Bean
2008-01-29 14:21                     ` Robert Millan
2008-01-29 14:37                       ` Marco Gerards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bq75at8m.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.