Linux Kernel
3.7.1
|
#include <fsl_hypervisor.h>
Data Fields | |
__u32 | ret |
__u32 | source |
__u32 | target |
__u32 | reserved |
__u64 | local_vaddr |
__u64 | remote_paddr |
__u64 | count |
struct fsl_hv_ioctl_memcpy - copy memory between partitions : return error code from the hypervisor : the partition ID of the source partition, or -1 for this partition : the partition ID of the target partition, or -1 for this partition : reserved, must be set to 0 : user-space virtual address of a buffer in the local partition : guest physical address of a buffer in the remote partition : the number of bytes to copy. Both the local and remote buffers must be at least 'count' bytes long
Used by FSL_HV_IOCTL_MEMCPY
The 'local' partition is the partition that calls this ioctl. The 'remote' partition is a different partition. The data is copied from the 'source' paritition' to the 'target' partition.
The buffer in the remote partition must be guest physically contiguous.
This ioctl does not support copying memory between two remote partitions or within the same partition, so either 'source' or 'target' (but not both) must be -1. In other words, either
source == local and target == remote
or source == remote and target == local
Definition at line 140 of file fsl_hypervisor.h.
__u64 count |
Definition at line 147 of file fsl_hypervisor.h.
__u64 local_vaddr |
Definition at line 145 of file fsl_hypervisor.h.
__u64 remote_paddr |
Definition at line 146 of file fsl_hypervisor.h.
__u32 reserved |
Definition at line 144 of file fsl_hypervisor.h.
__u32 ret |
Definition at line 141 of file fsl_hypervisor.h.
__u32 source |
Definition at line 142 of file fsl_hypervisor.h.
__u32 target |
Definition at line 143 of file fsl_hypervisor.h.