From owner-p4-projects@FreeBSD.ORG Thu Apr 19 23:38:10 2012 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A428B1065673; Thu, 19 Apr 2012 23:38:09 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66E2D106564A for ; Thu, 19 Apr 2012 23:38:09 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 35BB48FC0A for ; Thu, 19 Apr 2012 23:38:09 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id q3JNc9dL082354 for ; Thu, 19 Apr 2012 23:38:09 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id q3JNc8Km082351 for perforce@freebsd.org; Thu, 19 Apr 2012 23:38:08 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Thu, 19 Apr 2012 23:38:08 GMT Message-Id: <201204192338.q3JNc8Km082351@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 209863 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 23:38:10 -0000 http://p4web.freebsd.org/@@209863?ac=10 Change 209863 by rwatson@rwatson_cinnamon on 2012/04/19 23:37:19 A bit of late-night kernel hacking: start to make gxemul its own MIPS platform, rather than conflating it with BERI for local testing purposes in the CTSRD project. A gxemul_machdep.c is still required -- and perhaps can be lifted, or simply used, from MALTA. Put gxemul's console driver in its own dev/gxemul tree, in anticipation of future gxemul-specific drivers. Affected files ... .. //depot/projects/ctsrd/beribsd/src/sys/dev/gxemul/cons/gxemul_cons.c#1 branch .. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/files.beri#11 edit .. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/gxemul_cons.c#5 delete .. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/GXEMUL#3 edit .. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/GXEMUL.hints#1 add .. //depot/projects/ctsrd/beribsd/src/sys/mips/gxemul/files.gxemul#1 add Differences ... ==== //depot/projects/ctsrd/beribsd/src/sys/mips/beri/files.beri#11 (text+ko) ==== @@ -9,6 +9,5 @@ dev/terasic/mtllcd/terasic_mtllcd.c optional terasic_mtllcd dev/terasic/mtllcd/terasic_mtllcd_nexus.c optional terasic_mtllcd mips/beri/beri_machdep.c standard -mips/beri/gxemul_cons.c optional gxemul_cons mips/mips/intr_machdep.c standard mips/mips/tick.c standard ==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/GXEMUL#3 (text+ko) ==== @@ -1,5 +1,52 @@ -include BERI -ident GXEMUL +# +# GXEMUL "oldtestmips" sample kernel configuration. +# +# $FreeBSD$ +# + +ident GXEMUL + +machine mips mips64eb +cpu CPU_MIPS4KC + +options HZ=100 + +makeoptions ARCH_FLAGS="-march=mips64 -mabi=64" + +makeoptions KERNLOADADDR=0xffffffff80100000 + +include "../gxemul/std.gxemul" + +hints "GXEMUL.hints" #Default places to look for devices. + +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols + +makeoptions MODULES_OVERRIDE="" + +options DDB +options KDB + +options SCHED_ULE + +options FFS #Berkeley Fast Filesystem + +# Debugging for use in -current +#options DEADLKRES #Enable the deadlock resolver +options INVARIANTS #Enable calls of extra sanity checking +options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS +#options WITNESS #Enable checks to detect deadlocks and cycles +#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed + +# +# This kernel configuration uses an embedded 8MB memory root file system. +# Adjust the following path based on local requirements. +# +options MD_ROOT # MD is a potential root device +options MD_ROOT_SIZE=8192 +#makeoptions MFS_IMAGE=/local/scratch/rnw24/mdroot.img +options ROOTDEVNAME=\"ufs:md0\" -nodevice altera_jtag_uart device gxemul_cons +device md +device loop +device random