From owner-freebsd-ia64 Wed Jan 15 12: 7:39 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CAA937B401 for ; Wed, 15 Jan 2003 12:07:37 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id F280C43EB2 for ; Wed, 15 Jan 2003 12:07:36 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id DBC492A8A0; Wed, 15 Jan 2003 12:07:36 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Daniel C. Sobral" Cc: Marcel Moolenaar , ia64@FreeBSD.ORG Subject: Re: loader(8) In-Reply-To: <3E25B7DC.2050503@tcoip.com.br> Date: Wed, 15 Jan 2003 12:07:36 -0800 From: Peter Wemm Message-Id: <20030115200736.DBC492A8A0@canning.wemm.org> Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Daniel C. Sobral" wrote: > Looks like a missing prototype. I updated regex.diff, if you would care > to try again. I'll modify my own test code so that it can be easily used > and post it's url later. Just in case it wasn't clear from Marcel's reply, there are effectively no space constraints. Loader.efi lives in a FAT32 file system, that is generally between 10MB to 200+MB in size. It probably should be less than 4GB in code size though :-). > Marcel Moolenaar wrote: > > > On Wed, Jan 15, 2003 at 04:52:36PM -0200, Daniel C. Sobral wrote: > > > > >Now, I'd like to know how the loader space constraints are looking like > > >in the ia64 architecture, and by how much this patch increase loader's > > >size. > > > > > > The correctness constraints are higher than the space constraints: > > > > cc -O -pipe -ffreestanding -Wformat > > -I/nfs/freebsd/5.x/src/lib/libstand -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS > > -DHAVE_MEMCPY -I/nfs/freebsd/5.x/src/lib/libstand/../libz > > -I/nfs/freebsd/5.x/src/lib/libstand/../libc/regex -c > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c -o regcomp.o > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c: In function `allocset': > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c:1197: warning: cast to > > pointer from integer of different size > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c:1202: warning: cast to > > pointer from integer of different size > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c: In function `mcadd': > > /nfs/freebsd/5.x/src/lib/libstand/regcomp.c:1342: warning: assignment > > makes pointer from integer without a cast > > > > Even though the EFI loader runs in physical address mode, the loader > > may easily be loaded above 4GB. These need to be fixed... > > > > As for space, we don't really have special space constraints. We > > shouldn't bloat unnecessary of course. This applies to both on- > > disk and in-core space: > > > > loader old size new size > > ---------- ---------- ---------- > > loader.efi 498745 578843 > > skiload(*) 420928 498904 > > > > (*) My version of skiload is slightly larger (~5KB) than the > > "official" version because I added PAL, SAL, ACPI and EFI stubs > > in it to to allow mostly non-modified kernels to boot under ski > > and have support for SMP (given a modified ski of course). > > > > I haven't tried the regex code... > > > > > -- > 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 > > Opium is very cheap considering you don't > feel like eating for the next six days. > -- Taylor Mead, famous transvestite > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ia64" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message