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

Service_ModulePostFinal

Programmer's Reference Manuals
» Part 16 – Service Calls
» Service_ModulePostFinal

Service_ModulePostFinal

(Service &DB)
Entry
R0 Module address
R1 219 (&DB)
R2 Pointer to module title
R3 0 for base instantiation, else R3 = pointer to postfix string
R4 BCD version number (derived from module’s help string)
Exit
R0 Preserved
R1 Preserved
R2 Preserved
R3 Preserved
R4 Preserved

Use

This service call is made by the kernel after a module has been finalised, including during module reinitialisation. At the time the call is made the module will not be linked into the module chain, so its SWIs etc are not available.

This service call is intended to inform clients of a module that any registrations they made with it are no longer active, and any associated handles are stale. Along with Service_ModulePostInit, this avoids the need for each module to have its own dedicated initialisation/finalisation service calls.

For modules which need to give their clients more warning (i.e. warning them before finalisation instead of after), it is also acceptable for modules to make this service call themselves, during their finalisation sequence. However there is currently no way of determining whether the call came from the kernel or from the module – programmers must consult the documentation of each module to determine whether the service call is issued manually or not.

Notes

This service call must not be claimed.

See also

  • Service Calls
  • Service_ModulePreInit
  • Service_ModulePostInit
Revised on March 19, 2012 13:52:17 by Jeffrey Lee (213) (195.72.173.130)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Service Calls, Service_ModulePreInit, Service_ModulePostInit

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