cvs commit: src/sys/boot/i386/loader main.c

John Baldwin jhb at freebsd.org
Mon Dec 19 07:33:03 PST 2005


On Monday 19 December 2005 04:26 am, Maxim Sobolev wrote:
> sobomax     2005-12-19 09:26:42 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/boot/i386/loader main.c
>   Log:
>   If LOADER_BZIP2_SUPPORT is defined allocate heap in the 1MB-4MB range to
>   provide enough room for decompression (up to 2.5MB is necessary). This
>   should be safe to do since we load i386 kernels after 8MB mark now, so
>   that 16MB is the minimum amount of RAM necessary to even boot FreeBSD.

Err, I thought we loaded PAE kernels at 2MB and non-PAE kernels at 4MB to skip 
the first PSE page (PSE pages are 2MB on PAE).

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-all mailing list