search for: post_mem_write

Displaying 2 results from an estimated 2 matches for "post_mem_write".

2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...WRAPPER_POST_NAME(xen, hypercall) (tid, &harrghs, status); + break; + }; + + case VKI_XEN_IOCTL_PRIVCMD_MMAP: + break; + case VKI_XEN_IOCTL_PRIVCMD_MMAPBATCH: { + struct vki_xen_privcmd_mmapbatch *args = + (struct vki_xen_privcmd_mmapbatch *)(ARG3); + POST_MEM_WRITE((Addr)args->arr, sizeof(*(args->arr)) * args->num); + } + break; + case VKI_XEN_IOCTL_PRIVCMD_MMAPBATCH_V2: { + struct vki_xen_privcmd_mmapbatch_v2 *args = + (struct vki_xen_privcmd_mmapbatch_v2 *)(ARG3); + POST_MEM_WRITE((Addr)args->err, sizeof(*(args-...
2012 Oct 11
0
Re: [Valgrind-developers] [PATCH 1/4] Useful messages for sys/domctl interface_version mismatch.
...> #define __PRE_XEN_DOMCTL_READ(_domctl, _union, _field) \ > PRE_MEM_READ("XEN_DOMCTL_" # _domctl, \ > @@ -740,11 +775,14 @@ POST(sysctl) > > case XEN_SYSCTL_topologyinfo: > POST_XEN_SYSCTL_WRITE(topologyinfo, max_cpu_index); > - POST_MEM_WRITE((Addr)sysctl->u.topologyinfo.cpu_to_core.p, > + if (sysctl->u.topologyinfo.cpu_to_core.p) > + POST_MEM_WRITE((Addr)sysctl->u.topologyinfo.cpu_to_core.p, > sizeof(uint32_t) * > sysctl->u.topologyinfo.max_cpu_index); - > POST_MEM_WRIT...