Starts a partial non-blocking copy.
a0tError | a0IFCopyPart( | | | |
| | a0tDMARegion | *region1, | |
| | int | gfirst1, | |
| | int | gcount1, | |
| | a0tRequest | *request, | |
| | a0tDMARegion | *region2, | |
| | int | gfirst2, | |
| | int | gcount2 );
| |
| Name | rd/wr | Description |
| region1 | read | DMA region to read. |
| gfirst1 | read | First element of the DMA region to read. |
| gcount1 | read | Number of elements to read. |
| request | write | Request descriptor to hold the status. |
| region2 | read | DMA region to write. |
| gfirst2 | read | First element of the DMA region to write. |
| gcount2 | read | Number of elements to write. |
This function starts a non-blocking copy from a specific DMA region region1 to another DMA region region2. It posts a request to read and write the remote data with their own format informations, but starting to read at the element gfirst1, with gcount1 elements and to write at the element gfirst2, with gcount2 elements.
On return of this function, the variable pointed by request contains an opaque request that should be used later to wait or test the completion of the read operation.
| Error Code | Description |
A0ErrFailSend | It was not possible to send a request. | |
A0ErrFailReceive | It was not possible to receive a reply. | |
A0ErrOk| Successful completion. | |
a0IFCopy() a0IFReadPart() a0IFWritePart() a0NewDMARegion() a0WaitRequest() a0TestRequest()