Memory & linker questions

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

Memory & linker questions

Postby elysium5290 » Tue Mar 08, 2016 9:15 am

elysium5290
 
Posts: 8
Joined: Sat Mar 28, 2015 7:12 am

Re: Memory & linker questions

Postby sebraa » Tue Mar 08, 2016 2:14 pm

To the hardware, the local memory is divided into four memory banks of 8 KB each. But to the compiler, by default, the local memory is one single contiguous 32 KB block of memory.

The first 0x100 bytes of local memory are eSDK reserved (interrupt vector table, startup code etc). The stack is put at the end of local memory (0x8000 and growing downwards). Code, data and stack may span as many banks as needed.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 23 guests