ia64/xen-unstable

view tools/include/SunOS/xenbus.h @ 15315:de47ca8be7fe

Include Solaris kernel headers

Add the Solaris kernel headers used be the userspace tools to the
distribution. The same setup as used by Linux is taken. We modify the
Linux kernel headers to also install in /usr/include/xen/sys/ -
without a kernel-neutral path, it can make using the headers very
difficult, and encourages errors.

Signed-off-by: John Levon <john.levon@sun.com>
author kfraser@localhost.localdomain
date Mon Jun 11 15:50:35 2007 +0100 (2007-06-11)
parents
children
line source
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 */
24 /*
25 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
27 */
29 #ifndef _XEN_SYS_XENBUS_H
30 #define _XEN_SYS_XENBUS_H
32 /*
33 * Return the xenstore event channel.
34 */
35 #define IOCTL_XENBUS_XENSTORE_EVTCHN ('X' << 8)
37 /*
38 * Notify the kernel that the xenstore is up and running
39 */
40 #define IOCTL_XENBUS_NOTIFY_UP ('U' << 8)
42 #endif /* _XEN_SYS_XENBUS_H */