Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add sljitarch.h on sparc.
details: https://anonhg.NetBSD.org/src/rev/93a2d549fdfa
branches: trunk
changeset: 782552:93a2d549fdfa
user: alnsn <alnsn%NetBSD.org@localhost>
date: Mon Nov 05 23:08:59 2012 +0000
description:
Add sljitarch.h on sparc.
diffstat:
distrib/sets/lists/comp/md.sparc | 3 ++-
sys/arch/sparc/include/Makefile | 4 ++--
sys/arch/sparc/include/sljitarch.h | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 41 insertions(+), 3 deletions(-)
diffs (76 lines):
diff -r 92f4865b27ce -r 93a2d549fdfa distrib/sets/lists/comp/md.sparc
--- a/distrib/sets/lists/comp/md.sparc Mon Nov 05 22:49:14 2012 +0000
+++ b/distrib/sets/lists/comp/md.sparc Mon Nov 05 23:08:59 2012 +0000
@@ -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
diff -r 92f4865b27ce -r 93a2d549fdfa sys/arch/sparc/include/Makefile
--- a/sys/arch/sparc/include/Makefile Mon Nov 05 22:49:14 2012 +0000
+++ b/sys/arch/sparc/include/Makefile Mon Nov 05 23:08:59 2012 +0000
@@ -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 @@
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
diff -r 92f4865b27ce -r 93a2d549fdfa sys/arch/sparc/include/sljitarch.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sparc/include/sljitarch.h Mon Nov 05 23:08:59 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index