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

Shrinkable Dynamic Areas

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_DynamicArea
» Shrinkable Dynamic Areas

Notes

Shrinkable areas are created using OS_DynamicArea 0 with bit 9 of R4 set. They may be shrunk by the kernel when free memory is about to be exhausted.

Shrinkable areas must have a handler routine. A new handler reason code is used for Shrinkable areas: TestShrink.

Shrinkable areas should be used sparingly due to the load on the kernel whenever free memory must be calculated (e.g. for every Wimp_SlotSize call).

See also

  • Dynamic Area TestShrink
  • OS_DynamicArea
  • OS_DynamicArea 0
  • Wimp_SlotSize
Created on November 9, 2009 20:59:40 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_DynamicArea 5, Dynamic Area TestShrink, Dynamic Area Flags

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