From owner-p4-projects@FreeBSD.ORG Sat Feb 2 16:26:53 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CC1FD16A468; Sat, 2 Feb 2008 16:26:52 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7960416A420 for ; Sat, 2 Feb 2008 16:26:52 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 53F8C13C44B for ; Sat, 2 Feb 2008 16:26:52 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m12GQpho034354 for ; Sat, 2 Feb 2008 16:26:51 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m12GQpWt034351 for perforce@freebsd.org; Sat, 2 Feb 2008 16:26:51 GMT (envelope-from imp@freebsd.org) Date: Sat, 2 Feb 2008 16:26:51 GMT Message-Id: <200802021626.m12GQpWt034351@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 134654 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 16:26:53 -0000 http://perforce.freebsd.org/chv.cgi?CH=134654 Change 134654 by imp@imp_lighthouse on 2008/02/02 16:26:40 Update. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/TODO#14 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/TODO#14 (text+ko) ==== @@ -2,17 +2,15 @@ as $12) This is cpu.h vs cpureg.h or a 'netbsd' vs 'openbsd' argument. See Mips Run uses the latter and seems like a reasonable thing to pick... o Can we remove PDP_ENDIAN? -o Can we remove a.out junk +o Can we remove a.out junk from the asm files. o Can we remove pre-ansi stuff o unify cpu.h vs cpureg.h o Look for old vestiges of the array of args for p->p_regs[] and also comments - about same. + about same. Struct reg, fpgreg seem OBE too. o Look at the differences between the trampoline code between the two versions as this may lead to problems. Specifically, we have sigcode encoded into locore.S, and some code in sigreturn in pm_machdep.c. Not sure where things are in libc. -o What does that assmbler before mi_startup do in locore.S Comment or - remove. o Don't forget John Baldwin's comments on the user switch stuff. XXX add more here XXX o What's defined in assym.s and param.h varies somewhat between the two @@ -34,15 +32,21 @@ o inb and readb are the same damn thing. Really. We should shoot them both and all their ilk. This would allow us to have only one bus_tag, which we need anyway to do the indirection bit right. +o We're not parsing the BIOS info quite right. +o We're not getting memory size at all from the BIOS, but rather are getting + it from the constant of 96... +o RAMDISK support +o Network driver works only on the 36XX sim. It dies in various ways on the + different models. Do we wait for a better code drop from Cavium or fix + this ourselves? +o Can't boot on 5600 sim. +o We die on first vm reference on the real CN3800-EVB-xxxx that I have. ************ RRS (below) ********* o obio.c is probably not a good name for the IQ80321 driver -- obio is On Board I/O. The IQ80321 is a StrongARM eval board... o the locations of the octeon uart stuff is probably not good (in mips/octeon32) -o uart_dev_oct16550.c exists in dev/uart, did Warner move this - over? Or did it already exist, Can't find any reference to - it outside the octeon code (files...) did find a np1650.c though. o Still need to update some of the file locations and s9indent it. o Still need to figure out where the packet units and enet driver should go.