[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] a.out kernel loader
From: |
Marco Gerards |
Subject: |
Re: [PATCH] a.out kernel loader |
Date: |
Tue, 29 Jan 2008 10:14:33 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Bean <address@hidden> writes:
> 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 ?
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
- Re: [PATCH] a.out kernel loader, (continued)
- Re: [PATCH] a.out kernel loader, jakllsch, 2008/01/29
- Re: [PATCH] a.out kernel loader, Bean, 2008/01/29
- Re: [PATCH] a.out kernel loader, jakllsch, 2008/01/29
- Re: [PATCH] a.out kernel loader, Bean, 2008/01/29
- Re: [PATCH] a.out kernel loader, Robert Millan, 2008/01/29
- Re: [PATCH] a.out kernel loader, Marco Gerards, 2008/01/29
- Re: [PATCH] a.out kernel loader, Bean, 2008/01/29
- Re: [PATCH] a.out kernel loader,
Marco Gerards <=
- Re: [PATCH] a.out kernel loader, Bean, 2008/01/29
- Re: [PATCH] a.out kernel loader, Robert Millan, 2008/01/29
- Re: [PATCH] a.out kernel loader, Marco Gerards, 2008/01/29