This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Where is my stack ?! (for my i386)
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Where is my stack ?! (for my i386)
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Thu, 19 Oct 2000 17:29:05 -0700
Hi,
Where does the startup stack, the one used by cyg_start, is supposed to be ?
In the i386, it is located just in front of the startup code, and this is
very bad. At least i think the stack should be in a defined area of the
memory map and not in the void... Just where I was trying to put the idt,
the vsr table and the virtual vector tables.
How is this done in the other arch ? Where is the stack located ?
And is there any way to detect a stack overflow when it happens ?
Thanks
--
Fabrice Gautier
fabrice_gautier@sdesigns.com