From owner-p4-projects@FreeBSD.ORG Tue Mar 2 13:46:14 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A7E5616A4D0; Tue, 2 Mar 2004 13:46:14 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E39D16A4CE for ; Tue, 2 Mar 2004 13:46:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A6A43D1D for ; Tue, 2 Mar 2004 13:46:14 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i22LkEGe035157 for ; Tue, 2 Mar 2004 13:46:14 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i22LkD9E035154 for perforce@freebsd.org; Tue, 2 Mar 2004 13:46:13 -0800 (PST) (envelope-from peter@freebsd.org) Date: Tue, 2 Mar 2004 13:46:13 -0800 (PST) Message-Id: <200403022146.i22LkD9E035154@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 48016 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 21:46:15 -0000 http://perforce.freebsd.org/chv.cgi?CH=48016 Change 48016 by peter@peter_daintree on 2004/03/02 13:46:04 update todo list. smp is essentially finished. netstat -i no longer coredumps. common compat/i386/freebsd32 stuff broken out and md bits for amd64 and ia64 are in place. Affected files ... .. //depot/projects/hammer/TODO.txt#9 edit Differences ... ==== //depot/projects/hammer/TODO.txt#9 (text+ko) ==== @@ -1,4 +1,4 @@ -$P4: //depot/projects/hammer/TODO.txt#8 $ +$P4: //depot/projects/hammer/TODO.txt#9 $ reread the logs etc and check out the "XXX worry about this later" stuff @@ -7,12 +7,13 @@ USER_LDT (however, there is a syscall to set the %fs and %gs base values to arbitary 64 bit addresses). -SMP (acpi MADT table based etc, ignore mptable stuff) -(XXX: almost finished) - kld module support (the elf_machdep.c relocator is wrong, it uses the old value rather than addends like it should. See alpha/sparc64 for clues.) XXX: can't do this without hacking binutils. +XXX: no, its worse than that. Its completely impossible with the current +binutils without writing a whole bunch of bfd code. No way in hell. +Instead, just give in and write a .o file loader, eg: the .kld file that +we use as the final step towards producing the .ko file. finish the missing relocation types in rtld-elf/amd64/reloc.c (easy) @@ -35,11 +36,6 @@ done this, we can look at theirs) (XXX mostly done. need better libm support still) -factor out common compat/freebsd32/* and compat/ia32/* from ia64 and amd64 -trees. freebsd32 should be for running 32 bit binaries on a 64 bit kernel, -while ia32 is for special MD bits. Lots of missing syscalls. -(XXX: lots done. ia64 MD needed. still some missing syscalls) - make ia32 binary support more robust, including things that do important ioctls etc. (XXX: improving. csh etc work now. execve() was the bug) @@ -47,9 +43,6 @@ (XXX: need some ioctl translators and a few syscall translators that take dense structures with different packing) -netstat -i coredumps. Investigate. -Is this a compiler bug or a libkvm or /dev/kmem bug? - ======= DONE ======= ppp(8) (compiler bug, hack in http://people.freebsd.org/~peter/hammer.diff, but gcc-3.3 would be much better) @@ -85,3 +78,14 @@ make release (should be mostly there, with the bootblock patches) revert ppp(8) compiler bug workaround after gcc-3.3 is imported. + +SMP (acpi MADT table based etc, ignore mptable stuff) + +factor out common compat/freebsd32/* and compat/ia32/* from ia64 and amd64 +trees. freebsd32 should be for running 32 bit binaries on a 64 bit kernel, +while ia32 is for special MD bits. Lots of missing syscalls. +(XXX: lots done. ia64 MD needed. still some missing syscalls) + +netstat -i coredumps. Investigate. +Is this a compiler bug or a libkvm or /dev/kmem bug? +