From owner-cvs-all Tue Dec 17 13:10: 5 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 B536337B404 for ; Tue, 17 Dec 2002 13:10:02 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB5C43F05 for ; Tue, 17 Dec 2002 13:10:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 13258 invoked from network); 17 Dec 2002 21:10:09 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 Dec 2002 21:10:09 -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 gBHL9xUT013240; Tue, 17 Dec 2002 16:09:59 -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: <20021217202351.GO15322@gsmx07.alcatel.com.au> Date: Tue, 17 Dec 2002 16:09:59 -0500 (EST) From: John Baldwin To: Peter Jeremy Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, "M. Warner Losh" 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 Peter Jeremy wrote: > On 2002-Dec-17 12:40:38 -0500, John Baldwin wrote: >>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? > > 80x86 real mode (16-bit) is significantly different to 32-bit mode - > the addressing modes are almost completely different for starters. > Supporting real-mode and generating decent compact code in particular > is going to require significantly more than a simple 'tweak' to gcc. I'm aware of that. However, I was wondering if there already existed a real-mode backend that could be enabled in our system compiler by a simple configuration tweak. :) -- 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