cvs commit: src/sys/boot/i386/libi386 Makefile biosdisk.c biospnp.c biossmap.c i386_copy.c

Maxim Sobolev sobomax at
Mon Dec 19 01:00:13 PST 2005

sobomax     2005-12-19 09:00:11 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/libi386 Makefile biosdisk.c biospnp.c biossmap.c 
  Long-long time ago, when the trees were large and memory expensive amount of
  memory directly available to loader(8) and friends was limited to 640K on i386.
  Those times have passed long time ago and now loader(8) can directly access
  up to 4GB of RAM at least theoretically. At the same time, there are several
  places where it's assumed that malloc() will only allocate memory within
  first megabyte.
  Remove that assumption by allocating appropriate bounce buffers for BIOS
  calls on stack where necessary.
  This allows using memory above first megabyte for heap if necessary.
  Revision  Changes    Path
  1.39      +3 -0      src/sys/boot/i386/libi386/Makefile
  1.46      +10 -17    src/sys/boot/i386/libi386/biosdisk.c
  1.10      +1 -1      src/sys/boot/i386/libi386/biospnp.c
  1.4       +3 -2      src/sys/boot/i386/libi386/biossmap.c
  1.11      +6 -22     src/sys/boot/i386/libi386/i386_copy.c

More information about the cvs-src mailing list