Re: some multiboot2 comments

2006-11-02 Thread Yoshinori K. Okuji
On Monday 30 October 2006 21:24, Tristan Gingold wrote: > The best raison is to have a unified method to identify a module. IMHO the > argument line is to be interpreted only by the module. > > You know all the parameters can be put into the command line... So you don't want to mix up arguments t

Re: some multiboot2 comments

2006-11-02 Thread Yoshinori K. Okuji
On Tuesday 31 October 2006 02:43, Hollis Blanchard wrote: > On Mon, 2006-10-30 at 21:15 +0200, Yoshinori K. Okuji wrote: > > On Saturday 28 October 2006 20:32, Hollis Blanchard wrote: > > > Are you saying that given tag->key == foo, tag->length == sizeof(struct > > > tag_foo)? I think it makes far

Re: [PATCH] generic ELF loading #3

2006-11-02 Thread Yoshinori K. Okuji
On Wednesday 01 November 2006 02:23, Hollis Blanchard wrote: > Here is pass #3 of the ELF loader. Changes from #2: > - the `load' callback no longer modifies the phdr directly I still don't understand why you want to pass a hook. Why don't you simply pass a load address? Okuji

Re: [PATCH] generic ELF loading #3

2006-11-02 Thread Hollis Blanchard
On Thu, 2006-11-02 at 21:58 +0200, Yoshinori K. Okuji wrote: > On Wednesday 01 November 2006 02:23, Hollis Blanchard wrote: > > Here is pass #3 of the ELF loader. Changes from #2: > > - the `load' callback no longer modifies the phdr directly > > I still don't understand why you want to pass a hoo

Re: [PATCH] generic ELF loading #3

2006-11-02 Thread Hollis Blanchard
On Thu, 2006-11-02 at 14:54 -0600, Hollis Blanchard wrote: > > How do I know what the load address should be before I've even looked > at the program header? > > Just because the x86 loader uses fixed values doesn't mean other > loaders should. In particular, the PowerPC loader is happy to load t