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: Linux Synthetic Target -- How to exit eCos back to linux-shell


David Marqvar DAM wrote:
> We are using eCos under Linux to simulate and test our software.
> We would like to do some automated tests, and therefore need to be able to
> exit (shutdown) ecos and return to the linux-shell.
> 
> Does anyone know how to do this?

You have to call the Linux version of exit(), not the eCos one. As with
all the Linux system calls, it has a cyg_hal_sys_ prefix followed by the
normal system call name, i.e. you have to call cyg_hal_sys_exit().

Martin

-- 
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]