=> R0 = amount application space will change by
R1 = &11 (reason code)
R2 = currently active object pointer
<= R1 = 0 to claim and prevent re-mapping
This service is issued just before memory is remapped to change the size of the application space. When Wimp_Initialise is called the Wimp inspects the CAO - if it is outside application space the Wimp will issue this service prior to reducting the application space to 0. If it is unclaimed the memory change will take place. If you are a module who wants to use application space (e.g. a module task) then you should check the CAO - if it is your start address in the RMA you should claim the service to stop the change, and hence retain the memory.
A conventional application's CAO is within application workspace, so the Wimp will not attempt to issue this service, nor change the memory map.
See PRM 3, page 68
|
|
|