lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Apr 14, 2009, at 12:07 PM, Jerome Vuarand wrote:

AFAIK the stack has to be a single block of memory. So to have several
independently growing C stacks you need an MMU (to fragment the stack
while keeping it solid in terms of address space), and you will only
be able to do it on a page-by-page basis. But I guess most of your
embedded targets don't provide an MMU.


Some of them do, but it's not guaranteed. Also, others will sometimes provide some of the functionality of an MMU like memory protection, but I think the idea is generally to avoid adding anything to the core that would require platform-specific functionality.

--
James Snyder
Biomedical Engineering
Northwestern University
jbsnyder@fanplastic.org
http://fanplastic.org/key.txt
ph: (847) 448-0386

Attachment: PGP.sig
Description: This is a digitally signed message part