Bean <[EMAIL PROTECTED]> writes: > On Jan 29, 2008 4:48 PM, Marco Gerards <[EMAIL PROTECTED]> wrote: >> Bean <[EMAIL PROTECTED]> writes: >> >> > On Jan 28, 2008 5:11 PM, Robert Millan <[EMAIL PROTECTED]> 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel