summaryrefslogtreecommitdiffstats
path: root/sys/mips/nlm/msgring.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/nlm/msgring.h')
-rw-r--r--sys/mips/nlm/msgring.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/mips/nlm/msgring.h b/sys/mips/nlm/msgring.h
index cf5f66e..446bad8 100644
--- a/sys/mips/nlm/msgring.h
+++ b/sys/mips/nlm/msgring.h
@@ -29,12 +29,17 @@
* $FreeBSD$
*/
+#ifndef _NLM_MSGRING_H
+#define _NLM_MSGRING_H
#define CMS_DEFAULT_CREDIT 50
-
extern uint32_t xlp_msg_thread_mask;
+
+struct nlm_fmn_msg;
typedef void (*msgring_handler)(int, int, int, int, struct nlm_fmn_msg *, void *);
+
int register_msgring_handler(int startb, int endb, msgring_handler action,
void *arg);
int xlp_handle_msg_vc(u_int vcmask, int max_msgs);
void xlp_msgring_cpu_init(int, int, int);
void xlp_cms_enable_intr(int , int , int , int);
+#endif /* _NLM_MSGRING_H */
OpenPOWER on IntegriCloud