grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] a.out kernel loader


From: Bean
Subject: Re: [PATCH] a.out kernel loader
Date: Tue, 29 Jan 2008 17:02:37 +0800

On Jan 29, 2008 4:48 PM, Marco Gerards <address@hidden> wrote:
> Bean <address@hidden> writes:
>
> > On Jan 28, 2008 5:11 PM, Robert Millan <address@hidden> 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 ?

> > +/* 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.

-- 
Bean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]