Back to home page

OSCL-LXR

 
 

    


0001 /******************************************************************************
0002  * Interface to /dev/xen/xenbus_backend.
0003  *
0004  * Copyright (c) 2011 Bastian Blank <waldi@debian.org>
0005  *
0006  * This program is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU General Public License version 2
0008  * as published by the Free Software Foundation; or, when distributed
0009  * separately from the Linux kernel or incorporated into other
0010  * software packages, subject to the following license:
0011  *
0012  * Permission is hereby granted, free of charge, to any person obtaining a copy
0013  * of this source file (the "Software"), to deal in the Software without
0014  * restriction, including without limitation the rights to use, copy, modify,
0015  * merge, publish, distribute, sublicense, and/or sell copies of the Software,
0016  * and to permit persons to whom the Software is furnished to do so, subject to
0017  * the following conditions:
0018  *
0019  * The above copyright notice and this permission notice shall be included in
0020  * all copies or substantial portions of the Software.
0021  *
0022  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0023  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0024  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0025  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0026  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0027  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
0028  * IN THE SOFTWARE.
0029  */
0030 
0031 #ifndef __LINUX_XEN_XENBUS_DEV_H__
0032 #define __LINUX_XEN_XENBUS_DEV_H__
0033 
0034 #include <linux/ioctl.h>
0035 
0036 #define IOCTL_XENBUS_BACKEND_EVTCHN         \
0037     _IOC(_IOC_NONE, 'B', 0, 0)
0038 
0039 #define IOCTL_XENBUS_BACKEND_SETUP          \
0040     _IOC(_IOC_NONE, 'B', 1, 0)
0041 
0042 #endif /* __LINUX_XEN_XENBUS_DEV_H__ */