[ECOS] Linux Synthetic Target -- How to exit eCos back to linux-shell

Martin Buck martin.buck@ascom.ch
Fri Aug 16 05:11:00 GMT 2002


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



More information about the Ecos-discuss mailing list