Hello,
i am currently using DSP/BIOS 4.90.270 with TMS320C6713 DSP. I get some old code which i need to update. Actualy, in this code, all memory bloc allocate with MEM_define/MEM_alloc are map to a structure like that:
typedef struct {
volatile void* memHeaderList;
volatile unsigned int memHeaderSize;
unsigned char* pData;
} data;
data* ptr;
segmentId = MEM_define((Ptr)0x80000000, 0x1000, NULL);
ptr = MEM_alloc(segmentId, 0x1000, 4);
where only space pointed by pData is used. So everytime memory is allocated, "memHeaderList" and "memHeaderSize" are not used.
I have looked in the DSP/BIOS documentation for understand why this header must be reserved, but i found nothing.
Is there someone who understand why the guy who write this code always reserve a header on each bloc allocated ?