diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-04-28 09:35:33 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-04-28 09:35:33 +0000 |
commit | 3b84d97dbdacf463aa95357c85868b06e14caa8d (patch) | |
tree | 88ac8b6960e7b1a39adae0210f1db033ad4942a7 /xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h | |
parent | f57f5ec70d3e1b9d8047b14e0d5deafc2c549e5c (diff) | |
download | xen-3b84d97dbdacf463aa95357c85868b06e14caa8d.tar.gz xen-3b84d97dbdacf463aa95357c85868b06e14caa8d.tar.bz2 xen-3b84d97dbdacf463aa95357c85868b06e14caa8d.zip |
bitkeeper revision 1.879.1.1 (408f7ae5PHe1i2motf-Iulpr3dEVhQ)
Further modifications towards new block-device drivers for new I/O
model.
Diffstat (limited to 'xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h')
-rw-r--r-- | xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h b/xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h index 4ce2930daa..d359b6eaa7 100644 --- a/xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h +++ b/xenolinux-2.4.26-sparse/include/asm-xen/proc_cmd.h @@ -13,16 +13,21 @@ typedef struct privcmd_hypercall unsigned long arg[5]; } privcmd_hypercall_t; -typedef struct privcmd_blkmsg -{ - unsigned long op; - void *buf; - int buf_size; -} privcmd_blkmsg_t; - -#define IOCTL_PRIVCMD_HYPERCALL \ +/* + * @cmd: IOCTL_PRIVCMD_HYPERCALL + * @arg: &privcmd_hypercall_t + * Return: Value returned from execution of the specified hypercall. + */ +#define IOCTL_PRIVCMD_HYPERCALL \ _IOC(_IOC_NONE, 'P', 0, sizeof(privcmd_hypercall_t)) -#define IOCTL_PRIVCMD_BLKMSG \ - _IOC(_IOC_NONE, 'P', 1, sizeof(privcmd_blkmsg_t)) + +/* + * @cmd: IOCTL_PRIVCMD_INITDOMAIN_EVTCHN + * @arg: n/a + * Return: Port associated with domain-controller end of control event channel + * for the initial domain. + */ +#define IOCTL_PRIVCMD_INITDOMAIN_EVTCHN \ + _IOC(_IOC_NONE, 'P', 1, 0) #endif /* __PROC_CMD_H__ */ |