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_UpCall 257

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_UpCall
» OS_UpCall 257

OS_UpCall 257

(SWI &33)
Entry
R0 257 (&101)
R1 Amount that application space is going to change by
Exit
R0 0 to permit memory moved, else preserved
R1 Preserved

Use

The purpose of this call is to call inform your application that the Operating System would like to move memory

Notes

This call is made just before OS_ChangeDynamicArea tries to move memory. The call is only made if the currently active object is in the application space. It calls the UpCall vector. By default (if you don’t claim the vector) the memory isn’t moved.

Your routine must shuffle your application’s workspace so that the memory can go ahead. It must then set R0 = 0, and pass on the call to the vector.

See also

  • OS_ChangeDynamicArea
  • OS_UpCall
Created on December 4, 2009 15:32:09 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_ChangeDynamicArea, OS_UpCall

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