xref: /freebsd/sys/contrib/xen/io/9pfs.h (revision 3a9fd8242b35884921dfc4e886f284a75870a536)
1*3a9fd824SRoger Pau Monné /*
2*3a9fd824SRoger Pau Monné  * 9pfs.h -- Xen 9PFS transport
3*3a9fd824SRoger Pau Monné  *
4*3a9fd824SRoger Pau Monné  * Refer to docs/misc/9pfs.markdown for the specification
5*3a9fd824SRoger Pau Monné  *
6*3a9fd824SRoger Pau Monné  * Permission is hereby granted, free of charge, to any person obtaining a copy
7*3a9fd824SRoger Pau Monné  * of this software and associated documentation files (the "Software"), to
8*3a9fd824SRoger Pau Monné  * deal in the Software without restriction, including without limitation the
9*3a9fd824SRoger Pau Monné  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10*3a9fd824SRoger Pau Monné  * sell copies of the Software, and to permit persons to whom the Software is
11*3a9fd824SRoger Pau Monné  * furnished to do so, subject to the following conditions:
12*3a9fd824SRoger Pau Monné  *
13*3a9fd824SRoger Pau Monné  * The above copyright notice and this permission notice shall be included in
14*3a9fd824SRoger Pau Monné  * all copies or substantial portions of the Software.
15*3a9fd824SRoger Pau Monné  *
16*3a9fd824SRoger Pau Monné  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17*3a9fd824SRoger Pau Monné  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18*3a9fd824SRoger Pau Monné  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19*3a9fd824SRoger Pau Monné  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20*3a9fd824SRoger Pau Monné  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21*3a9fd824SRoger Pau Monné  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22*3a9fd824SRoger Pau Monné  * DEALINGS IN THE SOFTWARE.
23*3a9fd824SRoger Pau Monné  *
24*3a9fd824SRoger Pau Monné  * Copyright (C) 2017 Stefano Stabellini <stefano@aporeto.com>
25*3a9fd824SRoger Pau Monné  */
26*3a9fd824SRoger Pau Monné 
27*3a9fd824SRoger Pau Monné #ifndef __XEN_PUBLIC_IO_9PFS_H__
28*3a9fd824SRoger Pau Monné #define __XEN_PUBLIC_IO_9PFS_H__
29*3a9fd824SRoger Pau Monné 
30*3a9fd824SRoger Pau Monné #include "../grant_table.h"
31*3a9fd824SRoger Pau Monné #include "ring.h"
32*3a9fd824SRoger Pau Monné 
33*3a9fd824SRoger Pau Monné /*
34*3a9fd824SRoger Pau Monné  * See docs/misc/9pfs.markdown in xen.git for the full specification:
35*3a9fd824SRoger Pau Monné  * https://xenbits.xen.org/docs/unstable/misc/9pfs.html
36*3a9fd824SRoger Pau Monné  */
37*3a9fd824SRoger Pau Monné DEFINE_XEN_FLEX_RING_AND_INTF(xen_9pfs);
38*3a9fd824SRoger Pau Monné 
39*3a9fd824SRoger Pau Monné #endif
40*3a9fd824SRoger Pau Monné 
41*3a9fd824SRoger Pau Monné /*
42*3a9fd824SRoger Pau Monné  * Local variables:
43*3a9fd824SRoger Pau Monné  * mode: C
44*3a9fd824SRoger Pau Monné  * c-file-style: "BSD"
45*3a9fd824SRoger Pau Monné  * c-basic-offset: 4
46*3a9fd824SRoger Pau Monné  * tab-width: 4
47*3a9fd824SRoger Pau Monné  * indent-tabs-mode: nil
48*3a9fd824SRoger Pau Monné  * End:
49*3a9fd824SRoger Pau Monné  */
50