cvs commit: src/sys/boot/i386/libi386 biosmem.c i386_copy.c libi386.h src/sys/boot/i386/loader main.c

Maxim Sobolev sobomax at
Tue Dec 20 18:18:00 PST 2005

sobomax     2005-12-21 02:17:58 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/libi386 biosmem.c i386_copy.c libi386.h 
    sys/boot/i386/loader main.c 
  For the cases when loading bzip2-compressed kernels enabled use last
  3MB of physical memory for heap instead of range between 1MB and 4MB.
  This makes this feature working with PAE and amd64 kernels, which are
  loaded at 2MB. Teach i386_copyin() to avoid using range allocated by
  heap in such case, so that it won't trash heap in the low memory
  This should make loading bzip2-compressed kernels/modules/mfs images
  generally useable, so that re@ team is welcome to evaluate merits
  of using this feature in the installation CDs.
  Valuable suggestions by:        jhb
  Revision  Changes    Path
  1.8       +2 -2      src/sys/boot/i386/libi386/biosmem.c
  1.12      +1 -1      src/sys/boot/i386/libi386/i386_copy.c
  1.23      +4 -1      src/sys/boot/i386/libi386/libi386.h
  1.36      +3 -2      src/sys/boot/i386/loader/main.c

More information about the cvs-src mailing list