diff options
Diffstat (limited to 'xenolinux-2.4.24-sparse/include/asm-xeno/proc_cmd.h')
-rw-r--r-- | xenolinux-2.4.24-sparse/include/asm-xeno/proc_cmd.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xenolinux-2.4.24-sparse/include/asm-xeno/proc_cmd.h b/xenolinux-2.4.24-sparse/include/asm-xeno/proc_cmd.h new file mode 100644 index 0000000000..2fddd2c243 --- /dev/null +++ b/xenolinux-2.4.24-sparse/include/asm-xeno/proc_cmd.h @@ -0,0 +1,28 @@ +/****************************************************************************** + * proc_cmd.h + * + * Interface to /proc/cmd and /proc/xeno/privcmd. + */ + +#ifndef __PROC_CMD_H__ +#define __PROC_CMD_H__ + +typedef struct privcmd_hypercall +{ + unsigned long op; + 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 \ + _IOC(_IOC_NONE, 'P', 0, sizeof(privcmd_hypercall_t)) +#define IOCTL_PRIVCMD_BLKMSG \ + _IOC(_IOC_NONE, 'P', 1, sizeof(privcmd_blkmsg_t)) + +#endif /* __PROC_CMD_H__ */ |