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_SetEnv

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

OS_SetEnv

(SWI &12)
Entry
R0 Address of the handler for OS_Exit, 0 to read
R1 Address of the memory limit for OS_GetEnv, 0 to read
R4 Address for undefined instructions, 0 to read
R5 Address for prefetch abort, 0 to read
R6 Address for handler for data abort, 0 to read
R7 Address for handler for address exceptions, 0 to read
Exit
R0 Address of the previous “exit handler”
R1 Address of the previous “memory limit handler”
R4 Address of the previous “undefined instruction handler”
R5 Address of the previous “prefetch abort handler”
R6 Address of the previous “data abort handler”
R7 Address of the previous “address exception handler”

Use

The purpose of this call is to set environment parameters.

Notes

This call is now deprecated. Please use OS_ChangeEnvironment instead.

See also

  • Addresss Exception Handler?
  • Data Abort Handler?
  • Exit Handler
  • Memory Limit Handler?
  • Prefetch Abort Handler?
  • OS_ChangeEnvironment
  • OS_Exit
  • OS_GetEnv
  • Undefined Instruction Handler?
Created on December 2, 2009 21:00:02 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_ChangeEnvironment

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