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: Regarding cyg_start !!


<mohasin.zaki@wipro.com> writes:

> Hi,
> 
> What is this about cyg_start() function ?.
> 
> I understand that cyg_start gets called after the HAL has initialized.
> 
> Can there be multiple definitions of cyg_start ?.
> 
> Where (which file) is cyg_start defined in the eCos source tree ?. When
> I did a grep for cyg_start, I came across lot of files which have
> cyg_start defined !!.

Most of those will be test programs.

If you define cyg_start() in your program then it will use
that. Otherwise it will use one from the eCos library. In the latter
case you must then have a cyg_user_start(), or a main()
defined. Depending on the configuration.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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


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