Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Include cpu crosscall support (ins...



details:   https://anonhg.NetBSD.org/src/rev/9f431190ffd3
branches:  trunk
changeset: 749517:9f431190ffd3
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Dec 01 09:52:29 2009 +0000

description:
Include cpu crosscall support (instead of stubbing it out).

diffstat:

 sys/rump/librump/rumpkern/Makefile.rumpkern |   4 ++--
 sys/rump/librump/rumpkern/emul.c            |  18 ++----------------
 2 files changed, 4 insertions(+), 18 deletions(-)

diffs (54 lines):

diff -r 96b910e84c9a -r 9f431190ffd3 sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Tue Dec 01 09:50:51 2009 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Tue Dec 01 09:52:29 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpkern,v 1.65 2009/11/27 13:45:15 pooka Exp $
+#      $NetBSD: Makefile.rumpkern,v 1.66 2009/12/01 09:52:29 pooka Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -41,7 +41,7 @@
 SRCS+= subr_devsw.c subr_callback.c subr_copy.c subr_evcnt.c           \
        subr_extent.c subr_hash.c subr_humanize.c subr_iostat.c         \
        subr_kobj.c subr_log.c subr_once.c subr_prf.c                   \
-       subr_specificdata.c subr_time.c subr_workqueue.c
+       subr_specificdata.c subr_time.c subr_workqueue.c subr_xcall.c
 
 # sys/uvm
 SRCS+= uvm_readahead.c
diff -r 96b910e84c9a -r 9f431190ffd3 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Tue Dec 01 09:50:51 2009 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Tue Dec 01 09:52:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.110 2009/11/26 20:58:51 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.111 2009/12/01 09:52:29 pooka Exp $ */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.110 2009/11/26 20:58:51 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.111 2009/12/01 09:52:29 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -492,17 +492,3 @@
 
        return 0;
 }
-
-/* crosscalls not done, no other hardware CPUs */
-uint64_t
-xc_broadcast(u_int flags, xcfunc_t func, void *arg1, void *arg2)
-{
-
-       return -1;
-}
-
-void
-xc_wait(uint64_t where)
-{
-
-}



Home | Main Index | Thread Index | Old Index