aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-02-20 11:15:03 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-02-20 11:15:03 +0000
commit92207c117ac7c3b4f3304fb6855575844da73980 (patch)
tree3e9d4af5dbfb9619d7288c0f84d22643a5cd1b71 /xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h
parentb39cfce3243dfbfa5d877425adad77a108fb1094 (diff)
downloadxen-92207c117ac7c3b4f3304fb6855575844da73980.tar.gz
xen-92207c117ac7c3b4f3304fb6855575844da73980.tar.bz2
xen-92207c117ac7c3b4f3304fb6855575844da73980.zip
bitkeeper revision 1.735 (4035ec37QrObBVUp0-0jtnp646Qg3g)
xenolinux-sparse: new file Many files: Port to linux-2.4.25 .del-xenolinux-sparse~6c1e6e8b9138ffe9: Delete: xenolinux-sparse Many files: mvdir
Diffstat (limited to 'xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h')
-rw-r--r--xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h b/xenolinux-2.4.25-sparse/include/asm-xeno/proc_cmd.h
new file mode 100644
index 0000000000..2fddd2c243
--- /dev/null
+++ b/xenolinux-2.4.25-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__ */