From owner-freebsd-alpha Mon Sep 18 8:14:46 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 957AC37B422 for ; Mon, 18 Sep 2000 08:14:44 -0700 (PDT) Received: from newsguy.com (p03-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.132]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id AAA27909; Tue, 19 Sep 2000 00:14:23 +0900 (JST) Message-ID: <39C6311E.19B7337B@newsguy.com> Date: Tue, 19 Sep 2000 00:13:34 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: mjacob@feral.com Cc: Peter Wemm , alpha@FreeBSD.ORG Subject: Re: Loader badly broken on the alpha References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew Jacob wrote: > > We need to pull out 3408 bytes- but it's not that simple- bcopy seems to take > 2544 bytes, which is ridiculously large for a boot block- so I replaced it > with a dopey one line C function but that didn't change _end for me, so I have > to look at the linker magic some I guess. Well, here is my position on this. No, we need not pull out 3408 bytes. While the loader must not bloat, the whole point of having boot[12] _and_ loader is allowing us to add extra features and intelligence to loader without having to worry about how many bytes a function is taking. boot[12] _must_ be capable of providing a decent environment for loader. That's it's main function, nowadays, no matter what bde wants or says. For the short term, one area of investigation that might provide us a quick respite is compressing softwords.c on FICL. This file contains a huge string of Forth commands that is interpreted when FICL is initialized. Since we do have gz uncompression on libstand, it should probably be easy to change the build process as to make that string a compressed version of what it is right now (softwords.c is generated by softwords.awk -- there's also a softwords.pl, if whoever does it is more comfortable with perl), and then uncompress it before interpreting it during FICL initialization. Alas, I'm not doing it, I'm not even looking into it. I have absolutely _no_ time to do it. Sorry. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net "I demand that my picture show a handsome face, even if it doesn't look like me." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message