]> xenbits.xensource.com Git - people/sstabellini/linux-pvhvm-deprecated.git/commitdiff
xen/arm: introduce privcmp, physdev_op and memory_op hypercalls.
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 23 Feb 2012 14:20:53 +0000 (14:20 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 23 Feb 2012 14:20:53 +0000 (14:20 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/arm/include/asm/xen/hypercall.h

index 04eba1cf67d3d32b6c6498bb37ec3ecda59ff1e2..5abba487ba827711c7d6006b59df7da094574b44 100644 (file)
@@ -187,4 +187,28 @@ HYPERVISOR_event_channel_op(int cmd, void *arg)
        return _hypercall2(int, HYPERCALL(event_channel_op), cmd, arg);
 }
 
+static inline unsigned long HYPERVISOR_hvm_op(int op, void *arg)
+{
+       return -ENOSYS;
+}
+
+static inline int
+HYPERVISOR_memory_op(unsigned int cmd, void *arg)
+{
+       return _hypercall2(int, HYPERCALL(memory_op), cmd, arg);
+}
+
+static inline int HYPERVISOR_physdev_op(int cmd, void *arg)
+{
+       return _hypercall2(int, HYPERCALL(physdev_op), cmd, arg);
+}
+
+static inline long privcmd_call(unsigned call,
+               unsigned long a1, unsigned long a2,
+               unsigned long a3, unsigned long a4,
+               unsigned long a5)
+{
+       return _hypercall5(long, call, a1, a2, a3, a4, a5);
+}
+
 #endif /* _ASM_ARM_XEN_HYPERCALL_H */