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_SetCallBack

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

OS_SetCallBack

(SWI &1B)
Entry
- -
Exit
- -

Use

The purpose of this call is to cause a call to the CallBack handler.

Notes

This sets the CallBack flag and so causes entry to the CallBack handler? when the system next exits to user mode code with interrupts enabled (apart, of course, from the exit from this SWI).

This SWI may be used if the code linked into the system (via vector or as a SWI handler, etc) is required to do things on exit from the system. The callback handler is set with OS_ChangeEnvironment, and is distinct from transient CallBacks set with OS_AddCallBack.

See also

  • CallBack Handler?
  • OS_AddCallBack
  • OS_ChangeEnvironment
Created on December 2, 2009 20:15:12 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, Internal Communications Introduction

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