Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add sljit and bpfjit to evbmips. Not enabled by default.



details:   https://anonhg.NetBSD.org/src/rev/2994463f191d
branches:  trunk
changeset: 782867:2994463f191d
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Sat Nov 24 14:00:35 2012 +0000

description:
Add sljit and bpfjit to evbmips. Not enabled by default.

diffstat:

 distrib/sets/lists/comp/md.evbmips   |   3 ++-
 share/mk/bsd.own.mk                  |   5 ++---
 sys/arch/evbmips/include/Makefile    |   4 ++--
 sys/arch/evbmips/include/sljitarch.h |  34 ++++++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+), 6 deletions(-)

diffs (92 lines):

diff -r def4819f19ab -r 2994463f191d distrib/sets/lists/comp/md.evbmips
--- a/distrib/sets/lists/comp/md.evbmips        Sat Nov 24 09:07:44 2012 +0000
+++ b/distrib/sets/lists/comp/md.evbmips        Sat Nov 24 14:00:35 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.evbmips,v 1.16 2011/07/17 20:54:31 joerg Exp $
+# $NetBSD: md.evbmips,v 1.17 2012/11/24 14:00:35 alnsn Exp $
 ./usr/include/evbmips                          comp-c-include
 ./usr/include/evbmips/_G_config.h              comp-obsolete           obsolete
 ./usr/include/evbmips/ansi.h                   comp-c-include
@@ -52,6 +52,7 @@
 ./usr/include/evbmips/rwlock.h                 comp-c-include
 ./usr/include/evbmips/setjmp.h                 comp-c-include
 ./usr/include/evbmips/signal.h                 comp-c-include
+./usr/include/evbmips/sljitarch.h              comp-c-include
 ./usr/include/evbmips/stdarg.h                 comp-obsolete           obsolete
 ./usr/include/evbmips/trap.h                   comp-c-include
 ./usr/include/evbmips/types.h                  comp-c-include
diff -r def4819f19ab -r 2994463f191d share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Nov 24 09:07:44 2012 +0000
+++ b/share/mk/bsd.own.mk       Sat Nov 24 14:00:35 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.714 2012/11/22 21:41:22 pooka Exp $
+#      $NetBSD: bsd.own.mk,v 1.715 2012/11/24 14:00:35 alnsn Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -804,8 +804,7 @@
     ${MACHINE_ARCH} == "sparc" 
 MKSLJIT?=      yes
 .else
-# Don't let this build where it really isn't supported.
-MKSLJIT:=      no
+MKSLJIT?=      no
 .endif
 
 #
diff -r def4819f19ab -r 2994463f191d sys/arch/evbmips/include/Makefile
--- a/sys/arch/evbmips/include/Makefile Sat Nov 24 09:07:44 2012 +0000
+++ b/sys/arch/evbmips/include/Makefile Sat Nov 24 14:00:35 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2011/07/17 20:54:39 joerg Exp $
+#      $NetBSD: Makefile,v 1.15 2012/11/24 14:00:36 alnsn Exp $
 
 INCSDIR=/usr/include/evbmips
 
@@ -16,7 +16,7 @@
        param.h pcb.h \
        pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \
        reg.h regdef.h regnum.h reloc.h rwlock.h \
-       setjmp.h signal.h \
+       setjmp.h signal.h sljitarch.h \
        trap.h types.h \
        vmparam.h \
        wchar_limits.h
diff -r def4819f19ab -r 2994463f191d sys/arch/evbmips/include/sljitarch.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbmips/include/sljitarch.h      Sat Nov 24 14:00:35 2012 +0000
@@ -0,0 +1,34 @@
+/*     $NetBSD: sljitarch.h,v 1.1 2012/11/24 14:00:36 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 EVBMIPS_SLJITARCH_H
+#define EVBMIPS_SLJITARCH_H
+
+#define SLJIT_CONFIG_MIPS_32 1
+
+#endif



Home | Main Index | Thread Index | Old Index