2009-04-28 Chris Johns <chrisj@rtems.org>

* sapi/include/confdefs.h: Add a prototype for Init with C linkage
        and define Init task command line arguments if confdefs.h provides
        an Init entry point.
This commit is contained in:
Chris Johns
2009-04-28 06:39:24 +00:00
parent bb0417917a
commit d8b74dbebd
2 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* sapi/include/confdefs.h: Add a prototype for Init with C linkage
and define Init task command line arguments if confdefs.h provides
an Init entry point.
2009-04-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Disable LIBSHELL for unix targets.

View File

@@ -518,7 +518,16 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
#ifndef CONFIGURE_INIT_TASK_ENTRY_POINT
#ifdef __cplusplus
extern "C" {
#endif
rtems_task Init (rtems_task_argument );
#ifdef __cplusplus
}
#endif
#define CONFIGURE_INIT_TASK_ENTRY_POINT Init
extern const char* bsp_boot_cmdline;
#define CONFIGURE_INIT_TASK_ARGUMENTS ((rtems_task_argument) &bsp_boot_cmdline)
#endif
#ifndef CONFIGURE_INIT_TASK_INITIAL_MODES