EV-64260-BP & GT64260 bi_recs

Mark A. Greer mgreer at mvista.com
Thu Mar 28 05:02:04 EST 2002


benh at kernel.crashing.org wrote:

> Any reason why BI_LAST has those 4 bytes of data set to 0, why not
> just BI_LAST size=0 and no data ?

Only reason is that it is how its implemented now so to keep backward
compatibility...

E.g., _2_4_devel, arch/ppc/boot/common/misc-simple.c:decompress_kernel()

        rec->tag = BI_LAST;
        rec->size = sizeof(struct bi_record);
        rec = (struct bi_record *)((unsigned long)rec + rec->size);

Mark


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





More information about the Linuxppc-dev mailing list