From owner-cvs-all@FreeBSD.ORG Tue Aug 24 20:33:15 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68D0116A4DA for ; Tue, 24 Aug 2004 20:33:13 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD4AB43D31 for ; Tue, 24 Aug 2004 20:33:12 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 13370 invoked from network); 24 Aug 2004 20:33:12 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 24 Aug 2004 20:33:12 -0000 Received: from [10.50.40.208] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i7OKX3Jo097086; Tue, 24 Aug 2004 16:33:09 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Doug Rabson Date: Tue, 24 Aug 2004 10:02:39 -0400 User-Agent: KMail/1.6.2 References: <200408220624.i7M6OxAK010053@repoman.freebsd.org> <200408220940.18504.dfr@nlsystems.com> In-Reply-To: <200408220940.18504.dfr@nlsystems.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408241002.39948.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: Marcel Moolenaar cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/alpha Makefile.inc src/sys/boot/ficl Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 20:33:15 -0000 On Sunday 22 August 2004 04:40 am, Doug Rabson wrote: > On Sunday 22 August 2004 07:24, Marcel Moolenaar wrote: > > marcel 2004-08-22 06:24:59 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/boot/alpha Makefile.inc > > sys/boot/ficl Makefile > > Log: > > Part 2 of fixing the boot code: gcc 3.4 fixes. > > > > The whole problem seems to be size. Which is odd, because it is > > said that size doesn't matter. Anyway... Add -Os to strategic places > > in the makefile to have the final loader be as mall as possible. This > > seems to be enough to make it work. For now... I think something is > > more fundamentally wrong; or something more fundamental is wrong. > > Potato, potaato. > > Size does matter for the alpha loader. The firmware gives it 256k of > address space which we overflowed many years ago. I extended it in > sys/boot/alpha/common/main.c:extend_heap() by adding 512k to the > loader's mapped address space. It might be necessary to extend it a bit > further. That would just require bumping the XTRA_PAGES constant up, yes? Maybe we could bump it to 96 to add 768k for a total of 1m? The i386 loader has to fit into ~600kb including stack and heap, so hopefully 1m would be enough room for Alpha. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org