From owner-freebsd-alpha Wed Jan 15 10:14:31 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F99A37B40E for ; Wed, 15 Jan 2003 10:14:28 -0800 (PST) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 319C843F43 for ; Wed, 15 Jan 2003 10:14:18 -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 h0FIE7f26918 for ; Wed, 15 Jan 2003 16:14:07 -0200 Message-ID: <3E25A4EF.2090106@tcoip.com.br> Date: Wed, 15 Jan 2003 16:14:07 -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: alpha@freebsd.org Subject: loader(8) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greetings, alpha 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 alpha 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-alpha" in the body of the message