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



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to