RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_DynamicArea 10

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_DynamicArea
» OS_DynamicArea 10

OS_ DynamicArea 10

(SWI &66)
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

Use

The purpose of this call is to allow a region of a Sparse area to be released as free memory.

Notes

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 and not released are not accumulated across calls. Hence, release of sub-page sized regions is not useful.

See also

  • OS_DynamicArea
  • OS_ReadMemMapInfo
  • Sparse Dynamic Areas
Created on November 9, 2009 21:41:27 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_DynamicArea, OS_DynamicArea 1, Sparse Dynamic Areas

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys