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_FindMemMapEntries

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

OS_FindMemMapEntries

(SWI &60)
Entry
R0 Pointer to request block, terminated with -1
Exit
R0 Block at R0 updated

Use

The purpose of this call is to return the logical address to which the requested page numbers are mapped, ie address → page.

Notes

On entry, the logical address field must be set. You may supply probable page numbers, which, if correct will make this call return more quickly than it might otherwise. If you have no idea what the page number might be, you should set the page number to zero on entry. The protection value is ignored on entry. If the page number is -1 on exit, then the memory map entry was not found; in this case, the protection level will always be 3. Otherwise the request list has been updated with the page number and protection level for the given logical address.

See also

  • Memory Map Request Block
  • OS_ReadMemMapEntries
  • OS_SetMemMapEntries
Revised on November 26, 2010 12:44:02 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, OS_ReadMemMapEntries, OS_SetMemMapEntries, Memory Map Request Block, Page Access

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