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