ChorusOS 5.0 Board Support Package Developer's Guide

Special Purpose Physical Memory Allocation

Typically, different I/O buses impose different constraints on the memory used by their devices for Direct Memory Access (DMA), such as alignment, specific boundary crossing, maximum size, or specific location within the physical memory space.

To satisfy all constraints on physical memory imposed by the different I/O buses, (mainly for DMA purposes), the DKI provides an interface to allocate and free special purpose physical memory that satisfies the given constraints.

Special purpose memory allocation related services are described below. See the man pages for complete descriptions of listed calls:

svPhysAlloc()

allocates contiguous physical memory

svPhysFree()

frees memory allocated with svPhysAlloc