Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 10 (reason code) |
R1 | Area number |
R2 | Base of region to release |
R3 | Size of region to release |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Preserved |
R3 | Preserved |
The purpose of this call is to allow a region of a Sparse area to be released as free memory.
The region (base <= x <= size-1
) 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 granulariy granularity and not released are not accumulated across calls. Hence, release of sub-page sized regions is not useful.