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 1

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

OS_ DynamicArea 1

(SWI &66)
Entry
R0 1 (reason code)
R1 Area number
Exit
R0 Preserved
R1 Preserved

Use

The purpose of this call is to remove a previously created dynamic area.

Notes

Before the area is removed, it attempts to shrink it to zero size by calling OS_ChangeDynamicArea internally.

If OS_ChangeDynamicArea returns an error, then the area will be grown back to its original size using OS_ChangeDynamicArea, and this call will return with an error.
If OS_ChangeDynamicArea successfully reduced the area to zero size, then it will be removed.

Once the area has been removed Service_DynamicAreaRemove is issued to inform the rest of the system about this change.

An error is returned if the area was not removed for any reason.

Sparse areas shall be released via OS_DynamicArea 10 before removal. If the attempt fails, the area is not removed, but no attempt is made to restore the mapping distribution as before the removal.

See also

  • OS_ChangeDynamicArea
  • OS_DynamicArea
  • OS_DynamicArea 10
  • Sparse Dynamic Areas
Created on November 9, 2009 20:47:05 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_DynamicArea, Service_DynamicAreaRemove

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