| |||
| Home > Angel > Angel C library support SWIs > SYS_HEAPINFO (0x16) | |||
Returns the system heap parameters. The values returned are
typically those used by the Angel C library during initialization.
These values are defined in the devconf.h header file.
Refer to Modifying target-specific
files for
a description of devconf.h.
The C library can override these values, but will do so only
if __heap_base is defined at link time. In this
case the values of the following symbols are used:
__heap_base
__heap_limit
__stack_base
__stack_limit
This call returns sensible answers if EmbeddedICE is being
used, but the values are determined by the host debugger using the $top_of_memory debugger
variable.
On entry, r1 points to a single word data block:
is the address at which the heap descriptor is located.