debuggers.hg

view xenolinux-2.4.21-sparse/include/asm-xeno/proc_cmd.h @ 647:f36f032527a0

bitkeeper revision 1.339.1.2 (3f109e02qA-VmVFt9cmV0JaASgeSeg)

proc_cmd.h, dom0_core.c, xl_block.c:
Bug fixes to new proc interface.
author kaf24@scramble.cl.cam.ac.uk
date Sat Jul 12 23:47:14 2003 +0000 (2003-07-12)
parents 9339f3942f4e
children cda951fc1bef
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__ */