From owner-p4-projects@FreeBSD.ORG Fri Feb 8 08:29:25 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B3F7616A41B; Fri, 8 Feb 2008 08:29:25 +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 611C416A419 for ; Fri, 8 Feb 2008 08:29:25 +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 54D5713C442 for ; Fri, 8 Feb 2008 08:29:25 +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 m188TPc7003766 for ; Fri, 8 Feb 2008 08:29:25 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m188TPmP003763 for perforce@freebsd.org; Fri, 8 Feb 2008 08:29:25 GMT (envelope-from imp@freebsd.org) Date: Fri, 8 Feb 2008 08:29:25 GMT Message-Id: <200802080829.m188TPmP003763@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 135023 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: Fri, 08 Feb 2008 08:29:26 -0000 http://perforce.freebsd.org/chv.cgi?CH=135023 Change 135023 by imp@imp_mbp on 2008/02/08 08:28:24 More mind weasils ripping apart the flesh of my brain. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/TODO#16 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/TODO#16 (text+ko) ==== @@ -6,19 +6,24 @@ 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. Struct reg, fpgreg seem OBE too. + about same. Struct reg, fpgreg seem OBE too. On the other hand, keeping + constants unified between the two different conventions is a pain and we are + having some data corruption issues for reasons unknown on the MALTA + simulation at the moment. 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 Don't forget John Baldwin's comments on the user switch stuff. XXX add more - here XXX + here XXX This is mostly down to AST things. o What's defined in assym.s and param.h varies somewhat between the two code strains. Figure out why and how to resolve. o machdep getmemsize() really is OBE. Except for the mips_wired_tlb variable setting, which is related to something that was omitted from the juniper-mips dump. -o cpu init +o cpu init ??? DONE ???? +o we have a lot of memory from 0x80001000-0x81000000 that's currently + wasted. We should feed it to the vm system so as not to waste it. o Double check last merge from mips2 -> cavium code. Something seems wrong in one of the edits. Gonzo suggests looking at DO_AST macro. o Look at what the macro to set the per cpu data pointer will be like, and also