gtpc2m8eC/C++ Language Support User's Guide

tpf_movec_EVM-Move Data from One EVM to Another EVM

This function moves data from one ECB virtual memory (EVM) address space to another EVM address space. The tpf_movec_EVM function permits an ECB-controlled program to read and modify storage that is not part of its own address space.

Format

#include <sysapi.h>
void  tpf_movec_EVM(const void *fromaddr, int fromecb, void *toaddr,
                                              int toecb, long length);

fromaddr
Specifies the ECB virtual address (EVA) from which data will be moved.

fromecb
Specifies the system virtual address (SVA) of the entry control block (ECB) from which data is moved.

toaddr
Specifies the EVA to which data will be moved.

toecb
Specifies the SVA of the ECB to which data is moved.

length
Specifies the length of the data to be moved.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

Examples

An example is not provided because ECB addresses for the TPF system vary from customer site to customer site, making it difficult to provide a meaningful example.

Related Information

tpf_movec-Move Data between EVM and SVM.

See TPF System Macros for information about the $MOVEC macro.