| |||||||||||||
Technical Support On-Line Manuals RealView Compiler User's Guide | SYS_HEAPINFO (0x16)
Returns the system stack and heap parameters. The values returned are typically those used by the C library during initialization. For RVISS, the values returned are those provided in The C library can override these values. See Tailoring storage management in the Libraries Guide for more information about memory management in the C library. The host debugger determines the actual values to return by using the On entry, Example A.1.
struct block {
int heap_base;
int heap_limit;
int stack_base;
int stack_limit;
};
struct block *mem_block, info;
mem_block = &info;
AngelSWI(SYS_HEAPINFO, (unsigned) &mem_block);
NoteIf word one of the data block has the value zero, the C library replaces the zero with | ||||||||||||
| |||||||||||||