This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory management for threads


hi all,

I am creating a thread and allocate it memory of 8K on creation.

Inside this thread I want to allocate memory of 2MB at compile time to an array of char.
I tried it and it lead failure while loading the elf on target in bss section of 
vector.S (mbx board).

What can be the possible problem here?
Should I allocate memory of 2MB before the creation of thread and pass it to thread?

Thanks in advance.
Aditya Veer Singh

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]