search for: privcmd_hypercall

Displaying 5 results from an estimated 5 matches for "privcmd_hypercall".

Did you mean: privcmd_hypercall_t
2012 Jan 17
2
Problems calling HVMOP_flush_tlbs
...basing my call on the functions in in xc_misc.c, trying to guess what is meant by "@arg must be null" in the comment where HVMOP_flush_tlbs is defined. What is the correct way to invoke this hypercall? If I call it like this, I receive an invalid parameter (EINVAL) error: struct privcmd_hypercall { uint64_t op; uint64_t arg[5]; } hypercall; hypercall.op = __HYPERVISOR_hvm_op; hypercall.arg[0] = HVMOP_flush_tlbs; hypercall.arg[1] = 0; ret = do_xen_hypercall(xch, (void*)&hypercall); If I call it like this, I get function not implemente...
2007 Apr 18
1
[rfc][patch][linux] ioctl32() compat plumbing for xen calls
...Thu Jul 13 11:51:38 2006 -0400 @@ -2986,6 +2986,8 @@ COMPATIBLE_IOCTL(LPGETFLAGS) COMPATIBLE_IOCTL(LPGETFLAGS) HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans) +HANDLE_IOCTL(IOCTL_PRIVCMD_MMAP_32, privcmd_ioctl_32) +HANDLE_IOCTL(IOCTL_PRIVCMD_MMAPBATCH_32, privcmd_ioctl_32) COMPATIBLE_IOCTL(IOCTL_PRIVCMD_HYPERCALL) COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_VIRQ) COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_INTERDOMAIN) diff -r dd6f9da2ed0bcf52deb9f48e24ae56b470e1afc6 -r 2a6fda4e7dde1a0a5d29a62303e85bcea868eb47 include/xen/public/privcmd.h --- a/include/xen/public/privcmd.h Thu Jul 13 11:40:56 2006 -0400 +++ b/include/xen/p...
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
...next-20101112.orig/include/xen/privcmd.h +++ linux-next-20101112/include/xen/privcmd.h @@ -34,13 +34,10 @@ #define __LINUX_PUBLIC_PRIVCMD_H__ #include <linux/types.h> +#include <linux/compiler.h> typedef unsigned long xen_pfn_t; -#ifndef __user -#define __user -#endif - struct privcmd_hypercall { __u64 op; __u64 arg[5];
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
...next-20101112.orig/include/xen/privcmd.h +++ linux-next-20101112/include/xen/privcmd.h @@ -34,13 +34,10 @@ #define __LINUX_PUBLIC_PRIVCMD_H__ #include <linux/types.h> +#include <linux/compiler.h> typedef unsigned long xen_pfn_t; -#ifndef __user -#define __user -#endif - struct privcmd_hypercall { __u64 op; __u64 arg[5];
2010 Nov 13
2
[PATCH -next] xen: fix header export to userspace
...next-20101112.orig/include/xen/privcmd.h +++ linux-next-20101112/include/xen/privcmd.h @@ -34,13 +34,10 @@ #define __LINUX_PUBLIC_PRIVCMD_H__ #include <linux/types.h> +#include <linux/compiler.h> typedef unsigned long xen_pfn_t; -#ifndef __user -#define __user -#endif - struct privcmd_hypercall { __u64 op; __u64 arg[5];