h6. [[OS_DynamicArea]] h6(. » OS_DynamicArea 10 h2. OS_DynamicArea 10 h5. (SWI &66) |_<^{width:3em}. Entry | | |<^. R0 |<^. 10 (reason code) | |<^. R1 |<^. Area number | |<^. R2 |<^. Base of region to release | |<^. R3 |<^. Size of region to release | |_<^{width:3em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R2 |<^. Preserved | |<^. R3 |<^. Preserved | h4. Use The purpose of this call is to allow a region of a [[Sparse Dynamic Areas|Sparse]] area to be released as free memory. h4. Notes The region (<code>base <= x <= size-1</code>) must be entirely within the address range of the Sparse area. There are no restrictions on the distribution of any mapped memory within the region before the call. Note that although arbitrary alignment of base and size is allowed, memory can only be released with a granularity equal to the page size of the machine (as return by [[OS_ReadMemMapInfo]]). Fragments below this granularity and not released are not accumulated across calls. Hence, release of sub-page sized regions is not useful. h4. See also * [[OS_DynamicArea]] * [[OS_ReadMemMapInfo]] * [[Sparse Dynamic Areas]]