Showing changes from revision #1 to #2:
Added | Removed | Changed
The application space environment handler is not a code entry point. Instead, the value specified in R1 to OS_ChangeEnvironment corresponds to the real size of application space, disregarding any soft limit set via the Memory Limit Handler.
The value in this handler is an absolute address, i.e. &8000 corresponds to 0 bytes of application space.
Software must not use this environment handler to set the size of application space – setting a value to this handler does not actually cause any memory to be moved, and will cause the size of the dynamic area to become inconsistent with the actual memory map. Instead, OS_ChangeDynamicArea (for single-tasking programs) or Wimp_SlotSize (for multi-tasking programs) should be used to resize application space.