Starts a partial non-blocking write.
a0tError a0IFWritePart( | | | |
| a0tDMARegion | *region, | |
| int | gfirst, | |
| int | gcount, | |
| a0tRequest | *request, | |
| a0tFormat | *format, | |
| void | *address, | |
| int | count );
| |
Name | rd/wr | Description |
region | read | DMA region to write. |
gfirst | read | First element of the DMA region to write. |
gcount | read | Number of elements to write. |
request | write | Request descriptor to hold the status. |
format | read | Format of the data to send. |
address | write | Address of the data to send. |
count | read | Number of elements of the data to send. |
This function starts a non-blocking write to a specific DMA region region. It posts a request to write the remote data with its own format information, but starting at the element gfirst, with gcount elements. The data sent locally will be treated as count elements of the format and will be taken contiguously, starting at address.
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 write operation.
Error Code | Description |
A0ErrFailSend It was not possible to send a request. | |
A0ErrInvFormat The format has an invalid type. | |
A0ErrNotImplem The format has an unimplemented type. | |
A0ErrOkSuccessful completion. | |
a0FWritePart() a0IFWrite() a0IFReadPart() a0UseFormats() a0NewMapFormat() a0NewFunctionFormat() a0NewDMARegion() a0WaitRequest() a0TestRequest()