Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R1 | 96 (&60) |
R2 | Address to call |
R3 | Workspace for ResourceFS |
Exit | |
---|---|
R1-R3 | Preserved to pass on (do not claim) |
This service is issued by ResourceFS when it reinitialises
This service call must not be claimed.
As it is not linked into the module chain at this point, its SWIs cannot be called, so programs should call the code addressed by R2 directly:
STMFD sp!, {r0, lr} ; stack actual return address ADR r0, files ; pointer to resource file block MOV lr, pc ; emulate BL MOV pc, r2 ; call ResourceFS code LDMFD sp!, {r0, pc} ; and return
Unlike ResourceFS_RegisterFiles, the routine addressed by R2 does not issue Service_ResourceFSStarted for each block registered. Instead it issues one Service_ResourceFSStarted after all modules have received this service call.