I have following function call on DSP
void fun() { int tmpbuf[0x88]; int tmp1buf[0x88]; FARF(HIGH, " -- DSP enter call_with_temp: tmp_buff 0x%x tmp1_buff 0x%x", tmpbuf, tmp1buf); FARF(HIGH, " -- DSP enter call_with_temp: size tmp_buff 0x%x size tmp1_buff 0x%x", sizeof(tmpbuf), sizeof(tmp1buf)); fun2(tmp_buff); }
I expected tmpbuf and tmp1bug are allocated on the stack. What I can see is:
The two addresses tmp1buf and tmpbuf differ ca 0x4000b while their size is 0x220b so they cannot be allocated on the stack I suppose.
What had happened? What should I familiarize with so this topic is clear to me?
Br,
Edyta
What's the matter?
I think the address would be fine.
It's not micro-controller.
you should learn about the MMU of ARM processor and Virtual Memory.