MEM Module
2-206
❏
Segment For malloc() / free()
. The memory segment from which
space is allocated when a program calls malloc and from which
space is freed when a program calls free. If you select MEM_NULL
for this property, dynamic memory allocation at run-time is disabled.
Tconf Name: MALLOCSEG
Type: Reference
Example:
bios.MEM.MALLOCSEG = prog.get("myMEM");
BIOS Data tab
❏
Argument Buffer Section (.args)
. The memory segment containing
the .args section.
Tconf Name: ARGSSEG
Type: Reference
Example:
bios.MEM.ARGSSEG = prog.get("myMEM");
❏
Stack Section (.stack)
. The memory segment containing the data
stack. This segment should be located in RAM. The platform
architecture requires that both the user and system stacks (pointed
to by the XSP and XSSP registers, respectively) reside in the same
64K page of memory, that is, the upper 7 bits of the stack address
(SPH) are shared.
Tconf Name: STACKSEG
Type: Reference
Example:
bios.MEM.STACKSEG = prog.get("myMEM");
❏
System Stack Section (.sysstack)
. The memory segment
containing the system stack, applicable only on the C55x device.
Tconf Name: SYSSTACKSEG
Type: Reference
Example:
bios.MEM.SYSSTACKSEG =
prog.get("myMEM");
❏
DSP/BIOS Init Tables (.gblinit)
. The memory segment containing
the DSP/BIOS global initialization tables.
Tconf Name: GBLINITSEG
Type: Reference
Example:
bios.MEM.GBLINITSEG = prog.get("myMEM");
❏
TRC Initial Value (.trcdata)
. The memory segment containing the
TRC mask variable and its initial value. This segment must be placed
in RAM.
Tconf Name: TRCDATASEG
Type: Reference
Example:
bios.MEM.TRCDATASEG = prog.get("myMEM");
❏
DSP/BIOS Kernel State (.sysdata)
. The memory segment
containing system data about the DSP/BIOS kernel state.
Tconf Name: SYSDATASEG
Type: Reference
Example:
bios.MEM.SYSDATASEG = prog.get("myMEM");