This is the mail archive of the ecos-discuss@sources.redhat.com 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] |
Gary D. Thomas wrote:
Just doing it from _exit() would have to be optional and default off. In the default config programs that don't use main but include the libc startup package use the dummy one and so exit() is called.On Thu, 2003-01-30 at 09:38, Mark Salter wrote:Gary D Thomas writes:On Thu, 2003-01-30 at 09:12, Mark Salter wrote:Here's a patch I've been playing around with. It provides a mechanism for programs started by the RedBoot go command to return to the RedBoot prompt and have its exit status displayed. It also adds a -c flag to the go command which prevents the caches from being disabled before jumping to the program. I've only tried it with standalone newlib/libgloss based apps, but eCos apps should also be able to use the VV mechanism as well. I thought I'd throw this out and solicit any comments.
Uh, but we do :-). The under-utilised and unfortunately over-estimated CYGNUM_HAL_STACK_CONTEXT_SIZE from hal_arch.h. But no matter... as you say it's irrelevant.Maybe we should have a HAL_THREAD_CONTEXT_SIZE macro defined by the architecture? It just seems unsafe that one can't know how how much of the "stack" is used up for a saved context.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |