Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 02:17:59 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/i386/libi386 biosmem.c i386_copy.c libi386.h src/sys/boot/i386/loader main.c
Message-ID:  <200512210217.jBL2HxJn057045@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 
  Log:
  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
  conditions.
  
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512210217.jBL2HxJn057045>