VC_WriteIOMemoryBlock

VC_WriteIOMemoryBlock(dst, src, cnt)

The VC_WriteIOMemoryBlock macro writes a specified number of bytes from system memory space into a device’s mapped I/O memory space.

Parameters
dst
Address of the first mapped I/O memory location into which data is to be copied.
src
Pointer to a buffer from which data is to be copied.
cnt
Number of bytes to be copied into I/O space.
Return Value

None.

Comments

Kernel-mode video capture drivers typically use the VC_WriteIOMemoryBlock macro to write a block of memory within the frame buffer. Drivers can obtain the frame buffer’s base address by calling VC_GetFrameBuffer.

Using the VC_WriteIOMemoryBlock macro to write into I/O space helps ensure driver portability across system platforms.