PERFORCE change 96799 for review

John Birrell jb at FreeBSD.org
Sun May 7 22:43:22 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96799

Change 96799 by jb at jb_freebsd2 on 2006/05/07 22:42:28

	Add the cyclic system front end.
	
	Split the vmem and kmem hacks into separate source files that can
	be filled in later with a proper implementation. It isn'y just DTrace
	that needs these now. Cyclic does too.
	
	Add the OpenSolaris compatibility header path so that the files
	compile without haveing to install a bunch of headers in FreeBSD where
	they don't belong.

Affected files ...

.. //depot/projects/dtrace/src/sys/conf/files#10 edit

Differences ...

==== //depot/projects/dtrace/src/sys/conf/files#10 (text+ko) ====

@@ -92,9 +92,18 @@
 cam/scsi/scsi_ses.c		optional ses
 cam/scsi/scsi_targ_bh.c		optional targbh
 cam/scsi/scsi_target.c		optional targ
-cddl/dev/dtrace/dtrace.c	optional dtrace | fasttrap
-cddl/dev/dtrace/dtrace_mutex.c	optional dtrace | fasttrap
-cddl/dev/fasttrap/fasttrap.c	optional fasttrap
+cddl/dev/dtrace/dtrace.c	optional dtrace | fasttrap \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
+cddl/dev/dtrace/dtrace_mutex.c	optional dtrace | fasttrap \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
+cddl/dev/fasttrap/fasttrap.c	optional dtrace | fasttrap \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
+cddl/kern/cyclic.c		optional cyclic | kdtrace \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
+cddl/kern/kmem.c		optional cyclic | kdtrace \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
+cddl/kern/vmem.c		optional cyclic | kdtrace \
+	compile-with "${NORMAL_C} -D_SOLARIS_C_SOURCE -I$S/contrib/opensolaris/compat"
 coda/coda_fbsd.c		optional vcoda
 coda/coda_namecache.c		optional vcoda
 coda/coda_psdev.c		optional vcoda


More information about the p4-projects mailing list