ioclrmem

C

void ioclrmem(void *dst, size_t sz)

Description

Clear device memory

Parameters

ParamDescription
dstMemory to clear. Will be zeroed after this call
sznumber of bytes to clear

Returns

None

iowrmem

C

void iowrmem(void *dst, const void *src, size_t sz);

Description

Write src to device memory at dst. The write to device memory will always use write instructions at naturally aligned addresses.

Parameters

ParamDescription
dstDestination of write operation, will br modified after this call
srcSource of write operation
sznumber of bytes to write from src to dst

Returns

None

iordmem

C

void iordmem(void *dst, const void *src, size_t sz)

Description

Read from device memory at src into normal memory at dst. The read from device memory will always use read instructions at naturally aligned addresses.

Parameters

ParamDescription
dstDestination of read operation. Will be modified after this call
srcSource of read operation
sznumber of bytes to read from src to dst

Returns

None