Module Name:    src
Committed By:   alnsn
Date:           Mon Nov  5 23:09:00 UTC 2012

Modified Files:
        src/distrib/sets/lists/comp: md.sparc
        src/sys/arch/sparc/include: Makefile
Added Files:
        src/sys/arch/sparc/include: sljitarch.h

Log Message:
Add sljitarch.h on sparc.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/distrib/sets/lists/comp/md.sparc
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc/include/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/arch/sparc/include/sljitarch.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/md.sparc
diff -u src/distrib/sets/lists/comp/md.sparc:1.76 src/distrib/sets/lists/comp/md.sparc:1.77
--- src/distrib/sets/lists/comp/md.sparc:1.76	Sun Jul 17 20:54:31 2011
+++ src/distrib/sets/lists/comp/md.sparc	Mon Nov  5 23:09:00 2012
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc,v 1.76 2011/07/17 20:54:31 joerg Exp $
+# $NetBSD: md.sparc,v 1.77 2012/11/05 23:09:00 alnsn Exp $
 ./usr/include/gcc-4.5/tgmath.h			comp-c-include		gcccmds,gcc=45
 ./usr/include/ieeefp.h				comp-c-include
 ./usr/include/sparc				comp-c-include
@@ -57,6 +57,7 @@
 ./usr/include/sparc/rwlock.h			comp-c-include
 ./usr/include/sparc/setjmp.h			comp-c-include
 ./usr/include/sparc/signal.h			comp-c-include
+./usr/include/sparc/sljitarch.h			comp-c-include
 ./usr/include/sparc/stdarg.h			comp-obsolete		obsolete
 ./usr/include/sparc/tctrl.h			comp-c-include
 ./usr/include/sparc/trap.h			comp-c-include

Index: src/sys/arch/sparc/include/Makefile
diff -u src/sys/arch/sparc/include/Makefile:1.31 src/sys/arch/sparc/include/Makefile:1.32
--- src/sys/arch/sparc/include/Makefile:1.31	Sun Jul 17 20:54:47 2011
+++ src/sys/arch/sparc/include/Makefile	Mon Nov  5 23:08:59 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.31 2011/07/17 20:54:47 joerg Exp $
+#	$NetBSD: Makefile,v 1.32 2012/11/05 23:08:59 alnsn Exp $
 
 INCSDIR= /usr/include/sparc
 
@@ -16,7 +16,7 @@ INCS=	ansi.h aout_machdep.h apmvar.h asm
 	oldmon.h openpromio.h \
 	param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
 	reg.h reloc.h rwlock.h \
-	setjmp.h signal.h \
+	setjmp.h signal.h sljitarch.h \
 	tctrl.h trap.h types.h \
 	vmparam.h vuid_event.h \
 	wchar_limits.h

Added files:

Index: src/sys/arch/sparc/include/sljitarch.h
diff -u /dev/null src/sys/arch/sparc/include/sljitarch.h:1.1
--- /dev/null	Mon Nov  5 23:09:00 2012
+++ src/sys/arch/sparc/include/sljitarch.h	Mon Nov  5 23:08:59 2012
@@ -0,0 +1,37 @@
+/*	$NetBSD: sljitarch.h,v 1.1 2012/11/05 23:08:59 alnsn Exp $	*/
+
+/*-
+ * Copyright (c) 2012 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef SPARC_SLJITARCH_H
+#define SPARC_SLJITARCH_H
+
+#define SLJIT_CONFIG_SPARC_32 1
+
+#define SLJIT_CACHE_FLUSH(from, to) \
+	sparc_cache_flush((from), (to))
+
+#endif

Reply via email to