debuggers.hg

view xenolinux-2.4.21-sparse/include/asm-xeno/proc_cmd.h @ 648:cda951fc1bef

bitkeeper revision 1.341 (3f1120a2WW6KGE81TArq_p654xy38Q)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
author iap10@labyrinth.cl.cam.ac.uk
date Sun Jul 13 09:04:34 2003 +0000 (2003-07-13)
parents f36f032527a0
children
line source
1 /******************************************************************************
2 * proc_cmd.h
3 *
4 * Interface to /proc/cmd and /proc/xeno/privcmd.
5 */
7 #ifndef __PROC_CMD_H__
8 #define __PROC_CMD_H__
10 typedef struct privcmd_hypercall
11 {
12 unsigned long op;
13 unsigned long arg[5];
14 } privcmd_hypercall_t;
16 typedef struct privcmd_blkmsg
17 {
18 unsigned long op;
19 void *buf;
20 int buf_size;
21 } privcmd_blkmsg_t;
23 #define IOCTL_PRIVCMD_HYPERCALL \
24 _IOC(_IOC_NONE, 'P', 0, sizeof(privcmd_hypercall_t))
25 #define IOCTL_PRIVCMD_BLKMSG \
26 _IOC(_IOC_NONE, 'P', 1, sizeof(privcmd_blkmsg_t))
27 #define IOCTL_PRIVCMD_LINDEV_TO_XENDEV \
28 _IOC(_IOC_NONE, 'P', 2, sizeof(unsigned short))
29 #define IOCTL_PRIVCMD_XENDEV_TO_LINDEV \
30 _IOC(_IOC_NONE, 'P', 3, sizeof(unsigned short))
32 #endif /* __PROC_CMD_H__ */