xref: /illumos-gate/usr/src/uts/common/xen/sys/xenbus.h (revision fc910014e8a32a65612105835a10995f2c13d942)
1 /*
2  * This file may be distributed separately from the Linux kernel, or
3  * incorporated into other software packages, subject to the following license:
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this source file (the "Software"), to deal in the Software without
7  * restriction, including without limitation the rights to use, copy, modify,
8  * merge, publish, distribute, sublicense, and/or sell copies of the Software,
9  * and to permit persons to whom the Software is furnished to do so, subject to
10  * the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21  * IN THE SOFTWARE.
22  */
23 
24 /*
25  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
26  * Use is subject to license terms.
27  */
28 
29 #ifndef _XEN_SYS_XENBUS_H
30 #define	_XEN_SYS_XENBUS_H
31 
32 /*
33  * Return the xenstore event channel.
34  */
35 #define	IOCTL_XENBUS_XENSTORE_EVTCHN ('X' << 8)
36 
37 /*
38  * Notify the kernel that the xenstore is up and running
39  */
40 #define	IOCTL_XENBUS_NOTIFY_UP ('U' << 8)
41 
42 #endif /* _XEN_SYS_XENBUS_H */
43