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]

Re: cyg_user_start limitations


At 02/07/18 07:47, Gary Thomas wrote:
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.
I tried to set Alaram, and wait interrupt from my device.
I created another thread for initializations ,then I cleared problems.

Thank you .

---------------
Satoshi Sasaki
sasaki@info.kobelco.co.jp (Kobe Japan)


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


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