From owner-freebsd-sparc Wed Jan 15 10:53:35 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 108ED37B401 for ; Wed, 15 Jan 2003 10:53:34 -0800 (PST) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7955C43F75 for ; Wed, 15 Jan 2003 10:53:26 -0800 (PST) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h0FIrKf28012 for ; Wed, 15 Jan 2003 16:53:20 -0200 Message-ID: <3E25AE20.2080808@tcoip.com.br> Date: Wed, 15 Jan 2003 16:53:20 -0200 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021212 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: sparc@freebsd.org Subject: loader(8) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greetings, sparc people. In the hopes of providing .4th files to loader that people (other than me) can actually modify, I have been considering a regex parser, so we could introduce something like what exists in perl, sed, awk, etc. After long consideration, I came to the conclusion that the best way of providing such a thing would be importing regex into libstand. This would keep the rather complex regex code in C and avoid introducing a buggy regex implementation. Though it would be available at any point in loader, the regex interface is only done on FICL, so no FICL, no regex. The biggest drawback, by far, is the size by which it would increase loader. On i386, it's about 32 Kb. As I had to copy the regex files over to libstand, it might well be possible to further reduce this size by removing the more unlikelier options, or trading speed for space. Now, I'd like to know how the loader space constraints are looking like in the sparc architecture, and by how much this patch increase loader's size. The patch is at: http://people.freebsd.org/~dcs/regex.diff -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca TCO Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net There was a young monk of Dundee Who complained that it hurt him to pee, He said, "Pax vobiscum, Now why won't the piss come? I'm afraid I've the c-l-a-p." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message