cvs commit: src/sys/boot/i386/boot2 boot2.c

Bruce Evans bde at FreeBSD.org
Mon Nov 10 11:06:13 PST 2003


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


More information about the cvs-src mailing list