PsiFS_Register (SWI &520C0) | |||||||||||||||||||||||||||||||||||||
Register a client to be informed of changes | |||||||||||||||||||||||||||||||||||||
On entry: | R0 = | pointer to control-character terminated name of the client | |||||||||||||||||||||||||||||||||||
R1 = | mask specifying changes of interest | ||||||||||||||||||||||||||||||||||||
On exit: | R0 = | pointer to the pollword for this client | |||||||||||||||||||||||||||||||||||
Interrupts: | Interrupt status is undefined Fast interrupts are enabled | ||||||||||||||||||||||||||||||||||||
Processor mode: | Processor is in SVC mode | ||||||||||||||||||||||||||||||||||||
Re-entrancy: | SWI is not re-entrant | ||||||||||||||||||||||||||||||||||||
Use: |
This call registers a client to be informed of changes in the status of the PsiFS module or filing system.
The changes of interest are specified by setting bits in the mask passed in R1:
The returned pollword is suitable for passing to Wimp_Poll. It should also be passed to PsiFS_Unregister to unregister the client. PsiFS will set the pollword to a non-zero value whenever there is any relevant change in status. It is the responsibility of the client task to clear the pollword back to zero and to discover what has changed. The recommended sequence of events is:
| ||||||||||||||||||||||||||||||||||||
Related SWIs: | PsiFS_Unregister, PsiFS_Get, PsiFS_InterceptClaim, PsiFS_InterceptPoll, Wimp_Poll | ||||||||||||||||||||||||||||||||||||
Related vectors: | None |
[Contents] [Up] | Copyright © Alexander Thoukydides, 1998, 1999, 2000 |