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_Heap

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

OS_Heap

(SWI &1D)
Entry
R0 Reason code
R1 Pointer to heap
All other registers are dependent on reason code
Exit
R0 Preserved
R1 Preserved
All other registers dependent on reason code

Use

The purpose of this call is to perform various operations on the heap.

Notes

The action performed depends on the reason code value in R0. It is not yet possible to compact the heap using this call.

Reason Codes

# Hex # Action
0 &00 Initialise heap
1 &01 Describe heap
2 &02 Claim block
3 &03 Release block
4 &04 Change size of block
5 &05 Change size of heap
6 &06 Read block size
7 &07 Get area aligned
Revised on December 11, 2011 09:28:42 by WPB (1391)? (91.114.224.17)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: Kernel notes, Error Generators, OS SWI Calls, OS_Heap 0, OS_Heap 1, OS_Heap 3, OS_Heap 4, OS_Heap 5, OS_Heap 6, RISC OS 5 USB stack overview, OS_Heap 2, OS_Heap 7

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