Entry | |
---|---|
R0 | 16 (&10), and flags |
Exit | |
---|---|
R0 | Preserved |
R1 | Base address of area |
R2 | Address space allocated for area (bytes, multiple of page size) |
R3 | Actual memory used by area (bytes, multiple of page size) |
The purpose of this call is to return information on various areas of the memory map which are not dynamic areas, so that, for example, the task manager can show the correct amount of memory allocated to the system areas.
Returned values are rounded to page boundaries. If an area is not present, or is contained wholly within another area covered by this call, then zero will be returned for R1-R3. An error will be returned for any area not recognised by the OS version.