[Linux-galileo] ev64260 bi_rec patch

Paul Mackerras paulus at samba.org
Tue Apr 2 12:50:56 EST 2002


Mark A. Greer writes:

> > So the always-correct call for platform_init() is:
> > parse_bootinfo((struct bi_record *) (r3 + KERNELBASE));
>
> Is there a reason we shouldn't just fix find_bootinfo then?

The reason why I split the original parse_bootinfo into two pieces,
find_bootinfo and parse_bootinfo, was to allow for the case where the
bootloader passes in the address of the bi_recs.  In other words,
if you know where the bi_recs are, you don't need to call
find_bootinfo, just parse_bootinfo.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list