This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cyg_user_start limitations
- From: Gary Thomas <gary at chez-thomas dot org>
- To: "SASAKI at KOBELCO" <sasaki at info dot kobelco dot co dot jp>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 18 Jul 2002 07:47:57 -0600
- Subject: Re: [ECOS] cyg_user_start limitations
- References: <4.3.2-J.20020718105442.00c538d0@info0>
On Wed, 2002-07-17 at 20:14, SASAKI@KOBELCO wrote:
> Hello Everyone,
>
> I'm trying to execute some initial programs in cyg_user_start().
> But some functions(systemcall) are ignored.
> Does anyone know if cyg_user_start() has some limitations or not?
There are definitely restrictions here.
cyg_user_start() runs on the startup stack - typically small
no interrupts or scheduling will happen until this function exits
What sort of things are you trying to do?
Look at the test programs for good examples of what can and should
be done within the various startup functions.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss