aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-09 11:51:46 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-09 11:51:46 +0100
commitaa6eb83c93819255925ad5cb248aaa0978948e85 (patch)
tree4faa4efe49d655c6c324752f2b614a407eb24bd5 /tools/include
parentfb150076aef210185bb4875f4532adb8d5b6b441 (diff)
downloadxen-aa6eb83c93819255925ad5cb248aaa0978948e85.tar.gz
xen-aa6eb83c93819255925ad5cb248aaa0978948e85.tar.bz2
xen-aa6eb83c93819255925ad5cb248aaa0978948e85.zip
stubdom: make compilation independent of tools/ by building our own copy of the includes
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/xen-sys/MiniOS/privcmd.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/include/xen-sys/MiniOS/privcmd.h b/tools/include/xen-sys/MiniOS/privcmd.h
new file mode 100644
index 0000000000..97e0ceb5a0
--- /dev/null
+++ b/tools/include/xen-sys/MiniOS/privcmd.h
@@ -0,0 +1,18 @@
+#ifndef __MINIOS_PUBLIC_PRIVCMD_H__
+#define __MINIOS_PUBLIC_PRIVCMD_H__
+
+#include <sys/types.h>
+
+typedef struct privcmd_hypercall
+{
+ u64 op;
+ u64 arg[5];
+} privcmd_hypercall_t;
+
+typedef struct privcmd_mmap_entry {
+ u64 va;
+ u64 mfn;
+ u64 npages;
+} privcmd_mmap_entry_t;
+
+#endif /* __MINIOS_PUBLIC_PRIVCMD_H__ */