From owner-cvs-all Tue Dec 17 9:40:43 2002 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 671F137B401 for ; Tue, 17 Dec 2002 09:40:42 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B4443E4A for ; Tue, 17 Dec 2002 09:40:41 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 5500 invoked from network); 17 Dec 2002 17:40:44 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 Dec 2002 17:40:44 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gBHHecUT012541; Tue, 17 Dec 2002 12:40:38 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021217.103409.105683273.imp@bsdimp.com> Date: Tue, 17 Dec 2002 12:40:38 -0500 (EST) From: John Baldwin To: "M. Warner Losh" Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, phk@FreeBSD.org, Alexander@Leidinger.net Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 17-Dec-2002 M. Warner Losh wrote: > In message: <20021217170822.0cb1b03b.Alexander@Leidinger.net> > Alexander Leidinger writes: >: On Tue, 17 Dec 2002 16:55:15 +0100 >: Alexander Leidinger wrote: >: >: > than before (ideally the #if 1 should be #if __GCC). >: >: Ooops... it's "__GNUC__" off course. > > I'm about to commit boot2 changes to get both UFS1 and UFS2 into 8k. > Peter has more extensive changes than mine (and mine are based on his > and some suggestions from Ian), but they are more risky. I'll see > about ifdefing this, but I can't guarantee that icc will compile > things under 8k after the changes. Try it and let me know. We could shave a lot of room off of boot2 by having it be a real-mode application instead of a protected mode one. This would allow us to ditch all of BTX. However, we would either need to use a C compiler that can generate real-mode code (gcc can't AFAIK) or we need to write it all in assembly. I'd really like to avoid the latter if at all possible. Any chance that gcc might could be tweaked to add a real-mode target? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message