xref: /titanic_44/usr/src/uts/common/avs/ns/ncall_inter.h (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 /*
22  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23  * Use is subject to license terms.
24  */
25 
26 #ifndef	_SYS_NCALL_INTER_H
27 #define	_SYS_NCALL_INTER_H
28 
29 #ifdef	__cplusplus
30 extern "C" {
31 #endif
32 
33 #ifdef _KERNEL
34 
ncall_register_svc(int,void (*)(void *,int *))35 void ncall_register_svc(int, void (*)(void *, int *)) { }
ncall_unregister_svc(int)36 void ncall_unregister_svc(int) { }
37 int ncall_register_module(void *, void *);
38 int ncall_unregister_module(void *);
39 
ncall_nodeid(char *)40 int  ncall_nodeid(char *) { }
ncall_nodename(int)41 char *ncall_nodename(int) { }
ncall_mirror(int)42 int  ncall_mirror(int) { }
ncall_self(void)43 int  ncall_self(void) { }
44 
ncall_alloc(int,int,int,void **)45 int  ncall_alloc(int, int, int, void **) { }
ncall_timedsend(void *,int,int,struct timeval *,...)46 int  ncall_timedsend(void *, int, int, struct timeval *, ...) { }
ncall_timedsendnotify(void *,int,int,struct timeval *,void (*)(void *,void *),void *,...)47 int  ncall_timedsendnotify(void *, int, int, struct timeval *,
48     void (*)(void *, void *), void *, ...) { }
ncall_send(void *,int,int,...)49 int  ncall_send(void *, int, int, ...) { }
ncall_read_reply(void *,int,...)50 int  ncall_read_reply(void *, int, ...) { }
ncall_reset(void *)51 void ncall_reset(void *) { }
ncall_free(void *)52 void ncall_free(void *) { }
53 
ncall_put_data(void *,void *,int)54 int  ncall_put_data(void *, void *, int) { }
ncall_get_data(void *,void *,int)55 int  ncall_get_data(void *, void *, int) { }
56 
ncall_sender(void *)57 int  ncall_sender(void *) { }
ncall_reply(void *,...)58 void ncall_reply(void *, ...) { }
ncall_pend(void *)59 void ncall_pend(void  *) { }
ncall_done(void *)60 void ncall_done(void  *) { }
61 
ncall_maxnodes(void)62 int ncall_maxnodes(void) { }
ncall_nextnode(void **)63 int ncall_nextnode(void **) { }
ncall_errcode(void *,int *)64 int ncall_errcode(void *, int *) { }
65 
66 
67 /* Health monitor typedefs, variables and functions */
68 typedef void hmio_name_t;
69 typedef void hm_sarea_t;
70 typedef void hm_statev_t;
71 #ifndef _HM_TOK_T
72 #define	_HM_TOK_T
73 typedef void *hm_tok_t;
74 #endif
75 
bchm_load(void)76 int bchm_load(void) { }
bchm_unload(void)77 int bchm_unload(void) { }
bchm_getnetname(hmio_name_t *)78 int bchm_getnetname(hmio_name_t *) { }
bchm_getstatename(hmio_name_t *)79 int bchm_getstatename(hmio_name_t *) { }
bchm_startnet(hmio_name_t *,int)80 int bchm_startnet(hmio_name_t *, int) { }
81 int bchm_initted;
82 hm_sarea_t *bchm_start_addr[1];
83 hm_sarea_t hm_latest_state;
84 
85 #endif /* _KERNEL */
86 
87 #ifdef	__cplusplus
88 }
89 #endif
90 
91 #endif /* _SYS_NCALL_INTER_H */
92