Entry | |
---|---|
R0 | 5 (reason code) |
R1 | Number of single shrinkable areas to exclude from sum, or -1 to include all shrinkable areas |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Total amount of free space (bytes) |
The purpose of this call is to return the total free space, in bytes.
The returned value will be clamped at 2GB-PageSize in order to try and avoid any issues relating to signed number overflow. To avoid this clamping, use OS_DynamicArea 27.