Performs a blocking copy.
a0tError a0FCopy( | | | |
| a0tDMARegion | *region1, | |
| a0tRequest | *request, | |
| a0tDMARegion | *region2 );
| |
Name | rd/wr | Description |
region1 | read | DMA region to read. |
request | write | Request descriptor to hold the status. |
region2 | read | DMA region to write. |
This function performs a 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.
On return of this function, the variable pointed by request contains an opaque request that can be used later to check the completion status of the operation.
Error Code | Description |
A0ErrFailSend It was not possible to send a request. | |
A0ErrFailReceive It was not possible to receive a reply. | |
A0ErrOkSuccessful completion. | |
a0FCopyPart() a0FRead() a0FWrite() a0NewDMARegion()