search for: harrghs

Displaying 1 result from an estimated 1 matches for "harrghs".

2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...+#include "priv_syswrap-xen.h" // Run a thread from beginning to end and return the thread''s // scheduler-return-code. @@ -5527,6 +5527,73 @@ PRE(sys_ioctl) case VKI_KVM_RUN: break; +#ifdef ENABLE_XEN + case VKI_XEN_IOCTL_PRIVCMD_HYPERCALL: { + SyscallArgs harrghs; + struct vki_xen_privcmd_hypercall *args = + (struct vki_xen_privcmd_hypercall *)(ARG3); + + if (!args) + break; + + VG_(memset)(&harrghs, 0, sizeof(harrghs)); + harrghs.sysno = args->op; + harrghs.arg1 = args->arg[0]; + harrghs.arg2 = args-&...