Subject: Re: loadfile (Was Re: booting problem)
To: None <port-amiga@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-amiga
Date: 12/12/2002 13:59:32
In article <20021212135348.GA70173@lorien.int.gecko.de>,
Gunther Nikl <gni@gecko.de> wrote:
>On Wed, Dec 11, 2002 at 04:24:35PM +0100, Ignatios Souvatzis wrote:
>> Loadbsd can't boot ELF binaries and isn't supported anymore.
>
>  I always prefered loadbsd (ok, GoBSD :-). Adding support for ELF kernels
>  (without symbol support) should be possible. I am currently exploring the
>  loadfile() interface. It doesn't look that complicat at all. I already
>  have a simple standalone program that can parse an ELF file (regardless of
>  endianess :). However, I have problems to find the defintion of the READ
>  macro used in loadfile_elf32.c. I grep the complete sources and
>  /usr/include but no luck!? Where is it?

In loadfile_machdep.h in arch/*/include

christos