Eliminate weak symbols from rump kernel syscall handlers, part 7:

Build component constructors which establish syscalls at boottime.
This commit is contained in:
pooka 2014-04-27 15:15:13 +00:00
parent 97a5db624d
commit 9251b8c304
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rumpkern,v 1.145 2014/04/25 18:25:38 pooka Exp $
# $NetBSD: Makefile.rumpkern,v 1.146 2014/04/27 15:15:13 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@ -27,6 +27,8 @@ SRCS+= rump.c rumpcopy.c cons.c emul.c etfs_wrap.c intr.c \
signals.c sleepq.c threads.c vm.c hyperentropy.c \
accessors.c
SRCS+= rumpkern_syscalls.c
# autogenerated into the correct namespace
RUMPOBJ_NORENAME= rump_syscalls.o rump_syscalls.pico rump_syscalls.po

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rumpnet,v 1.13 2013/03/15 12:09:59 pooka Exp $
# $NetBSD: Makefile.rumpnet,v 1.14 2014/04/27 15:15:13 pooka Exp $
#
LIB= rumpnet
@ -12,6 +12,8 @@ SRCS= net_stub.c netisr.c rump_net.c
SRCS+= rumpnet_if_wrappers.c
SRCS+= rumpnet_syscalls.c
# sys/kern networking (sockets, mbufs, etc.)
SRCS+= sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c \
uipc_socket.c uipc_socket2.c uipc_syscalls.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rumpvfs,v 1.40 2014/02/27 13:00:06 hannken Exp $
# $NetBSD: Makefile.rumpvfs,v 1.41 2014/04/27 15:15:13 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@ -22,6 +22,8 @@ SRCS+= rump_vfs.c devnodes.c devnull.c rumpblk.c rumpfs.c vm_vfs.c
SRCS+= rumpvfs_if_wrappers.c
SRCS+= rumpvfs_syscalls.c
# sys/kern I/O
SRCS+= kern_physio.c