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