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_ValidateAddress

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

OS_ValidateAddress

(SWI &3A)
Entry
R0 Minimum address
R1 Maximum address
Exit
R0 Preserved
R1 Preserved
C flag is clear if the range is OK, else set

Use

The purpose of this call is to check that a range of addresses are in logical RAM.

Notes

SWI checks the address range between R0 and R1-1 to see if the specified range lies in logical RAM and has a mapping into physical RAM.

This call does not check that the memory actually exists, only that it ought to exist. If you have used OS_SetMemMapEntries, then this call will not work as expected.

See also

  • OS_SetMemMapEntries
  • OS_Memory 24
Revised on July 6, 2011 13:37:32 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS_Memory 24, OS SWI Calls, Service_ValidateAddress

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