On 03/12/14 00:18, Chris Johns wrote:
On 2/12/2014 9:11 pm, Sebastian Huber wrote:
The dummy.c is a de-facto default configuration so use unlimited objects
and the stack checker.  This makes it easier for new RTEMS users which
will likely use this file if they just work with the usual main()
function as the application entry point.

I did not understand before now this file was being used. I assume it is being used with the bspinit.c file ?

If so maybe the bspinit.c file be moved here from the bsp/shared tree and these files and this directory be renamed ?

Hm, I didn't know we have a bspinit.c file. What is BSP dependent in this file?

It is not compatible to dummy.c since this file uses main() directly as the entry point. This seems to be quite bad, since argv and envp is then undefined.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to