This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Memory management for threads
- From: "aditya veer singh" <adityav at cdotd dot ernet dot in>
- To: "ecos" <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 26 Jun 2006 10:44:00 +0630
- Subject: [ECOS] 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