Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Enable bpfjit on sparc.
details: https://anonhg.NetBSD.org/src/rev/6d0f39337715
branches: trunk
changeset: 782555:6d0f39337715
user: alnsn <alnsn%NetBSD.org@localhost>
date: Tue Nov 06 07:59:09 2012 +0000
description:
Enable bpfjit on sparc.
diffstat:
distrib/sets/lists/modules/md.sparc | 6 +++++-
sys/arch/sparc/conf/files.sparc | 7 ++++++-
sys/modules/Makefile | 5 +++--
3 files changed, 14 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 05c0d6542983 -r 6d0f39337715 distrib/sets/lists/modules/md.sparc
--- a/distrib/sets/lists/modules/md.sparc Mon Nov 05 23:47:12 2012 +0000
+++ b/distrib/sets/lists/modules/md.sparc Tue Nov 06 07:59:09 2012 +0000
@@ -1,3 +1,7 @@
-# $NetBSD: md.sparc,v 1.1 2009/09/07 02:27:29 jnemeth Exp $
+# $NetBSD: md.sparc,v 1.2 2012/11/06 07:59:09 alnsn Exp $
+./@MODULEDIR@/bpfjit base-kernel-modules kmod
+./@MODULEDIR@/bpfjit/bpfjit.kmod base-kernel-modules kmod
./@MODULEDIR@/exec_elf32 base-kernel-modules kmod
./@MODULEDIR@/exec_elf32/exec_elf32.kmod base-kernel-modules kmod
+./@MODULEDIR@/sljit base-kernel-modules kmod
+./@MODULEDIR@/sljit/sljit.kmod base-kernel-modules kmod
diff -r 05c0d6542983 -r 6d0f39337715 sys/arch/sparc/conf/files.sparc
--- a/sys/arch/sparc/conf/files.sparc Mon Nov 05 23:47:12 2012 +0000
+++ b/sys/arch/sparc/conf/files.sparc Tue Nov 06 07:59:09 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.sparc,v 1.151 2011/06/12 03:35:46 rmind Exp $
+# $NetBSD: files.sparc,v 1.152 2012/11/06 07:59:09 alnsn Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
# sparc-specific configuration info
@@ -205,6 +205,11 @@
attach ms at pckbport with ms_pckbport
file arch/sparc/dev/ms_pckbport.c ms_pckbport # lower/middle layers
+#
+# Stack-less Just-In-Time compiler
+#
+
+include "external/bsd/sljit/conf/files.sljit"
#
# Machine-independent SCSI drivers
diff -r 05c0d6542983 -r 6d0f39337715 sys/modules/Makefile
--- a/sys/modules/Makefile Mon Nov 05 23:47:12 2012 +0000
+++ b/sys/modules/Makefile Tue Nov 06 07:59:09 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2012/10/28 16:25:03 alnsn Exp $
+# $NetBSD: Makefile,v 1.115 2012/11/06 07:59:09 alnsn Exp $
.include <bsd.own.mk>
@@ -122,7 +122,8 @@
.endif
.if ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "x86_64"
+ ${MACHINE_ARCH} == "x86_64" || \
+ ${MACHINE_ARCH} == "sparc"
SUBDIR+= bpfjit
SUBDIR+= sljit
.endif
Home |
Main Index |
Thread Index |
Old Index