Date: Mon, 10 Nov 2003 11:06:09 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <200311101906.hAAJ69Ct047296@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2003/11/10 11:06:09 PST FreeBSD src repository Modified files: sys/boot/i386/boot2 boot2.c Log: Fixed loss of setting of the RB_BOOTINFO flag in rev.1.43. Fixed wrong comment about this flag in rev.1.61. It is not historical like the comment said; it is the flag that says that most of what is laboriously put in the bootinfo struct is actually there. Newer kernels were bootable by even the broken boot2 without losing anything except the symbol table, but older kernels need at least the memory sizes. Restoring the "|" with RB_BOOTINFO that was lost in rev.1.43 costs 5 bytes. The fix can be done in only 4 bytes by fixing some code that was removed in rev.1.61 (put RB_BOOTINFO back in in the initial value of "opts" and fix RBX_MASK to not clobber it.) Revision Changes Path 1.65 +2 -2 src/sys/boot/i386/boot2/boot2.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311101906.hAAJ69Ct047296>