[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] generic ELF loading (updated)
From: |
Hollis Blanchard |
Subject: |
Re: [PATCH] generic ELF loading (updated) |
Date: |
Sat, 28 Oct 2006 13:35:26 -0500 |
On Sat, 2006-10-28 at 16:16 +0200, Yoshinori K. Okuji wrote:
> On Friday 27 October 2006 21:19, Hollis Blanchard wrote:
> > Comments please. Also see next mail to see how the PPC Linux loader uses
> > it.
>
> So this still loads an image to paddr directly, right?
>
> I think we need these features:
>
> - an ability to pass an address to load an image
>
> - an ability to pass the size of a loading area
>
> - an ability to get the size of a loaded image
The PowerPC loader patch I sent already does 1 and 3, and you can easily
see how 2 can be done in the exact same way. Please look at that code,
in particular 'calcsize' and 'offset_paddr'.
-Hollis