summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-15 23:20:48 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:15 +0200
commitd9be8218e63626ee0e0a02e07dd0705c6a65eda9 (patch)
treece32bfe27fd97fdb42b7c3ce695e78c55d20075e
parent67a6c6b8be26c9d965f5aba52c83927e878f87ef (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* device/net_io.h (net_ast): Add prototype. * ipc/ipc_kmsg.c: Include <device/net_io.h> * kern/ast.c: Include <device/net_io.h>
-rw-r--r--ChangeLog3
-rw-r--r--device/net_io.h1
-rw-r--r--ipc/ipc_kmsg.c2
-rw-r--r--kern/ast.c1
4 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9628ee7..874a087 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,9 @@
* vm/vm_kern.c: Likewise.
* device/ds_routine.h (ds_notify): Add prototype.
* kern/ipc_kobject.c: Include <device/ds_routines.h>
+ * device/net_io.h (net_ast): Add prototype.
+ * ipc/ipc_kmsg.c: Include <device/net_io.h>
+ * kern/ast.c: Include <device/net_io.h>
2008-07-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/device/net_io.h b/device/net_io.h
index 6842dec..ce18182 100644
--- a/device/net_io.h
+++ b/device/net_io.h
@@ -65,6 +65,7 @@ extern void net_kmsg_put(ipc_kmsg_t);
* Network utility routines.
*/
+extern void net_ast();
extern void net_packet(struct ifnet *, ipc_kmsg_t, unsigned int, boolean_t);
extern void net_filter(ipc_kmsg_t, ipc_kmsg_queue_t);
extern io_return_t net_getstat(struct ifnet *, dev_flavor_t, dev_status_t,
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index e0f76c2..6b2ff95 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -60,6 +60,8 @@
#include <ipc/ipc_machdep.h>
+#include <device/net_io.h>
+
#if MACH_KDB
#include <ddb/db_output.h>
#endif
diff --git a/kern/ast.c b/kern/ast.c
index d46f0d6..97da3ab 100644
--- a/kern/ast.c
+++ b/kern/ast.c
@@ -44,6 +44,7 @@
#include <kern/sched_prim.h>
#include <kern/thread.h>
#include <kern/processor.h>
+#include <device/net_io.h>
#include <machine/machspl.h> /* for splsched */