Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is stackMemId and how to figure out what number to set it to when configuring the DSP server?

configuring DSP figure server
0
10 Posted

What is stackMemId and how to figure out what number to set it to when configuring the DSP server?

0
10

Each algorithm in the DSP server is instantiated and run in a DSP/BIOS task. stackMemId is used to determine where the stack of this task is going to be allocated. Typically, the stack is allocated from one of the existing heaps in the system. Each heap in DSP/BIOS has an identifier (a number) associated with it. This id is determined as follows: • The heap used by DSP/BIOS object segment (bios.MEM.BIOSOBJSEG referenced in the DSP/BIOS API guide) always has ID 0. • Look up all the memory objects (MEM_Obj) listed in the generated *cfg.s62 file from the package/cfg/bin/ directory of your server package that has a heap defined. The first one in the list that has a heap defined has id 1, the 2nd one has id 2, etc. Ignore/Skip the one corresponding to the DSP/BIOS object segment.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.