Fri Apr 4 18:20:28 2014 UTC ()
Add compat 50 time syscalls, needed by rump sys_linux.


(njoly)
diff -r1.142 -r1.143 src/sys/rump/librump/rumpkern/Makefile.rumpkern

cvs diff -r1.142 -r1.143 src/sys/rump/librump/rumpkern/Makefile.rumpkern (expand / switch to unified diff)

--- src/sys/rump/librump/rumpkern/Makefile.rumpkern 2014/04/02 19:37:17 1.142
+++ src/sys/rump/librump/rumpkern/Makefile.rumpkern 2014/04/04 18:20:28 1.143
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.rumpkern,v 1.142 2014/04/02 19:37:17 pooka Exp $ 1# $NetBSD: Makefile.rumpkern,v 1.143 2014/04/04 18:20:28 njoly Exp $
2# 2#
3 3
4.include "${RUMPTOP}/Makefile.rump" 4.include "${RUMPTOP}/Makefile.rump"
5 5
6.include <bsd.own.mk> 6.include <bsd.own.mk>
7 7
8LIB= rump 8LIB= rump
9 9
10.PATH: ${RUMPTOP}/librump/rumpkern \ 10.PATH: ${RUMPTOP}/librump/rumpkern \
11 ${RUMPTOP}/librump/rumpkern/arch/generic \ 11 ${RUMPTOP}/librump/rumpkern/arch/generic \
12 ${RUMPTOP}/../kern \ 12 ${RUMPTOP}/../kern \
13 ${RUMPTOP}/../uvm \ 13 ${RUMPTOP}/../uvm \
14 ${RUMPTOP}/../conf \ 14 ${RUMPTOP}/../conf \
@@ -143,26 +143,27 @@ SRCS+= vnode_if.c @@ -143,26 +143,27 @@ SRCS+= vnode_if.c
143# sys/dev 143# sys/dev
144SRCS+= clock_subr.c 144SRCS+= clock_subr.c
145 145
146# sys/dev/crypto 146# sys/dev/crypto
147# Note: these are here only for cprng. More crypto algos for drivers 147# Note: these are here only for cprng. More crypto algos for drivers
148# are available from the rumpkern_crypto component 148# are available from the rumpkern_crypto component
149SRCS+= nist_ctr_drbg.c 149SRCS+= nist_ctr_drbg.c
150SRCS+= rijndael-alg-fst.c 150SRCS+= rijndael-alg-fst.c
151SRCS+= rijndael-api-fst.c 151SRCS+= rijndael-api-fst.c
152SRCS+= rijndael.c  152SRCS+= rijndael.c
153 153
154# compat 154# compat
155SRCS+= kern_select_50.c 155SRCS+= kern_select_50.c
 156SRCS+= kern_time_50.c
156 157
157# Set RUMP_UNREAL_ALLOCATORS to "yes" to use memory allocation hypercalls 158# Set RUMP_UNREAL_ALLOCATORS to "yes" to use memory allocation hypercalls
158# directly instead of the kmem/pool allocators backed by hypercalls. 159# directly instead of the kmem/pool allocators backed by hypercalls.
159# Direct hypercalls may be a few percent faster, but don't emulate 160# Direct hypercalls may be a few percent faster, but don't emulate
160# all kernel corner cases as well (not to mention if you want to debug the 161# all kernel corner cases as well (not to mention if you want to debug the
161# allocators themselves). 162# allocators themselves).
162.if defined(RUMP_UNREAL_ALLOCATORS) && ${RUMP_UNREAL_ALLOCATORS} == "yes" 163.if defined(RUMP_UNREAL_ALLOCATORS) && ${RUMP_UNREAL_ALLOCATORS} == "yes"
163SRCS+= memalloc.c 164SRCS+= memalloc.c
164.else 165.else
165SRCS+= subr_kmem.c subr_pool.c 166SRCS+= subr_kmem.c subr_pool.c
166.endif 167.endif
167 168
168.ifdef RUMP_LOCKDEBUG 169.ifdef RUMP_LOCKDEBUG