| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: xenio.h,v 1.8 2010/12/15 14:45:47 cegger Exp $ */ | | 1 | /* $NetBSD: xenio.h,v 1.9 2011/01/10 11:13:03 cegger Exp $ */ |
2 | | | 2 | |
3 | /****************************************************************************** | | 3 | /****************************************************************************** |
4 | * privcmd.h | | 4 | * privcmd.h |
5 | * | | 5 | * |
6 | * Copyright (c) 2003-2004, K A Fraser | | 6 | * Copyright (c) 2003-2004, K A Fraser |
7 | * | | 7 | * |
8 | * This file may be distributed separately from the Linux kernel, or | | 8 | * This file may be distributed separately from the Linux kernel, or |
9 | * incorporated into other software packages, subject to the following license: | | 9 | * incorporated into other software packages, subject to the following license: |
10 | * | | 10 | * |
11 | * Permission is hereby granted, free of charge, to any person obtaining a copy | | 11 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
12 | * of this source file (the "Software"), to deal in the Software without | | 12 | * of this source file (the "Software"), to deal in the Software without |
13 | * restriction, including without limitation the rights to use, copy, modify, | | 13 | * restriction, including without limitation the rights to use, copy, modify, |
14 | * merge, publish, distribute, sublicense, and/or sell copies of the Software, | | 14 | * merge, publish, distribute, sublicense, and/or sell copies of the Software, |
| @@ -102,24 +102,24 @@ typedef struct oprivcmd_hypercall | | | @@ -102,24 +102,24 @@ typedef struct oprivcmd_hypercall |
102 | _IOW('P', 3, privcmd_mmapbatch_t) | | 102 | _IOW('P', 3, privcmd_mmapbatch_t) |
103 | #define IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN \ | | 103 | #define IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN \ |
104 | _IOR('P', 4, unsigned long) | | 104 | _IOR('P', 4, unsigned long) |
105 | | | 105 | |
106 | /* | | 106 | /* |
107 | * @cmd: IOCTL_PRIVCMD_INITDOMAIN_EVTCHN | | 107 | * @cmd: IOCTL_PRIVCMD_INITDOMAIN_EVTCHN |
108 | * @arg: n/a | | 108 | * @arg: n/a |
109 | * Return: Port associated with domain-controller end of control event channel | | 109 | * Return: Port associated with domain-controller end of control event channel |
110 | * for the initial domain. | | 110 | * for the initial domain. |
111 | */ | | 111 | */ |
112 | #define IOCTL_PRIVCMD_INITDOMAIN_EVTCHN \ | | 112 | #define IOCTL_PRIVCMD_INITDOMAIN_EVTCHN \ |
113 | _IOR('P', 5, int) | | 113 | _IOR('P', 5, int) |
114 | #define IOCTL_PRIVCMD_MMAPBATCH_V2 \ | | 114 | #define IOCTL_PRIVCMD_MMAPBATCH_V2 \ |
115 | _IOW('P", 6, privcmd_mmapbatch_v2_t) | | 115 | _IOW('P', 6, privcmd_mmapbatch_v2_t) |
116 | | | 116 | |
117 | /* Interface to /dev/xenevt */ | | 117 | /* Interface to /dev/xenevt */ |
118 | /* EVTCHN_RESET: Clear and reinit the event buffer. Clear error condition. */ | | 118 | /* EVTCHN_RESET: Clear and reinit the event buffer. Clear error condition. */ |
119 | #define EVTCHN_RESET _IO('E', 1) | | 119 | #define EVTCHN_RESET _IO('E', 1) |
120 | /* EVTCHN_BIND: Bind to the specified event-channel port. */ | | 120 | /* EVTCHN_BIND: Bind to the specified event-channel port. */ |
121 | #define EVTCHN_BIND _IOW('E', 2, unsigned long) | | 121 | #define EVTCHN_BIND _IOW('E', 2, unsigned long) |
122 | /* EVTCHN_UNBIND: Unbind from the specified event-channel port. */ | | 122 | /* EVTCHN_UNBIND: Unbind from the specified event-channel port. */ |
123 | #define EVTCHN_UNBIND _IOW('E', 3, unsigned long) | | 123 | #define EVTCHN_UNBIND _IOW('E', 3, unsigned long) |
124 | | | 124 | |
125 | #endif /* __XEN_XENIO_H__ */ | | 125 | #endif /* __XEN_XENIO_H__ */ |