PsiFS: SWI Calls

PsiFS_AsyncControl

PsiFS_AsyncControl
(SWI &520C8)
Control an asynchronous remote operation

On entry:R0 =reason code
R1 =the previously allocated handle for this operation
Other registers depend on reason code

On exit:Registers preserved

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 controls a previously started asynchronous remote operation, depending on the reason code in R0. Valid reason codes are:
ValueMeaning
0Simple response to query
1Pause operation
2Resume operation

Related SWIs:PsiFS_AsyncStart, PsiFS_AsyncEnd, PsiFS_AsyncPoll

Related vectors:None

PsiFS_AsyncControl 0
(SWI &520C8)
Simple response to query

On entry:R0 =0
R1 =the previously allocated handle for this operation
R2 =the response code

On exit:Registers preserved

Use: Supply a simple response to a query returned previously by PsiFS_AsyncPoll. Valid response codes are:
ValueMeaning
0Continue
1Yes
2No
3Quiet
4Skip
5Restart
6Retry
7Copy

The response must be appropriate to the query.


PsiFS_AsyncControl 1
(SWI &520C8)
Pause operation

On entry:R0 =1
R1 =the previously allocated handle for this operation

On exit:Registers preserved

Use: Pause the specified asynchronous remote operation. This may not have immediate effect; PsiFS will wait for a convenient time if necessary.

PsiFS_AsyncControl 2
(SWI &520C8)
Resume operation

On entry:R0 =2
R1 =the previously allocated handle for this operation

On exit:Registers preserved

Use: Resume a previously paused asynchronous remote operation.

[Contents] [Up] Copyright © Alexander Thoukydides, 1998, 1999, 2000