xenbus_comms.h revision 1.2.8.2 1 1.2.8.2 tron /* $NetBSD: xenbus_comms.h,v 1.2.8.2 2006/04/07 12:51:26 tron Exp $ */
2 1.2.8.2 tron /*
3 1.2.8.2 tron * Private include for xenbus communications.
4 1.2.8.2 tron *
5 1.2.8.2 tron * Copyright (C) 2005 Rusty Russell, IBM Corporation
6 1.2.8.2 tron *
7 1.2.8.2 tron * This file may be distributed separately from the Linux kernel, or
8 1.2.8.2 tron * incorporated into other software packages, subject to the following license:
9 1.2.8.2 tron *
10 1.2.8.2 tron * Permission is hereby granted, free of charge, to any person obtaining a copy
11 1.2.8.2 tron * of this source file (the "Software"), to deal in the Software without
12 1.2.8.2 tron * restriction, including without limitation the rights to use, copy, modify,
13 1.2.8.2 tron * merge, publish, distribute, sublicense, and/or sell copies of the Software,
14 1.2.8.2 tron * and to permit persons to whom the Software is furnished to do so, subject to
15 1.2.8.2 tron * the following conditions:
16 1.2.8.2 tron *
17 1.2.8.2 tron * The above copyright notice and this permission notice shall be included in
18 1.2.8.2 tron * all copies or substantial portions of the Software.
19 1.2.8.2 tron *
20 1.2.8.2 tron * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 1.2.8.2 tron * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 1.2.8.2 tron * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 1.2.8.2 tron * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 1.2.8.2 tron * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25 1.2.8.2 tron * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
26 1.2.8.2 tron * IN THE SOFTWARE.
27 1.2.8.2 tron */
28 1.2.8.2 tron
29 1.2.8.2 tron #ifndef _XENBUS_COMMS_H
30 1.2.8.2 tron #define _XENBUS_COMMS_H
31 1.2.8.2 tron
32 1.2.8.2 tron void xenbus_kernfs_init(void);
33 1.2.8.2 tron int xs_init(void);
34 1.2.8.2 tron int xb_init_comms(struct device *dev);
35 1.2.8.2 tron
36 1.2.8.2 tron /* Low level routines. */
37 1.2.8.2 tron int xb_write(const void *data, unsigned len);
38 1.2.8.2 tron int xb_read(void *data, unsigned len);
39 1.2.8.2 tron int xs_input_avail(void);
40 1.2.8.2 tron
41 1.2.8.2 tron #endif /* _XENBUS_COMMS_H */
42 1.2.8.2 tron
43 1.2.8.2 tron /*
44 1.2.8.2 tron * Local variables:
45 1.2.8.2 tron * c-file-style: "linux"
46 1.2.8.2 tron * indent-tabs-mode: t
47 1.2.8.2 tron * c-indent-level: 8
48 1.2.8.2 tron * c-basic-offset: 8
49 1.2.8.2 tron * tab-width: 8
50 1.2.8.2 tron * End:
51 1.2.8.2 tron */
52