Date: Thu, 19 Apr 2012 23:38:08 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 209863 for review Message-ID: <201204192338.q3JNc8Km082351@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204192338.q3JNc8Km082351>
