Changeset d8b74dbe in rtems for cpukit/sapi/include/confdefs.h


Ignore:
Timestamp:
Apr 28, 2009, 6:39:24 AM (11 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
046fe12b
Parents:
bb04179
Message:

2009-04-28 Chris Johns <chrisj@…>

  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    rbb04179 rd8b74dbe  
    519519
    520520#ifndef CONFIGURE_INIT_TASK_ENTRY_POINT
     521  #ifdef __cplusplus
     522  extern "C" {
     523  #endif
     524    rtems_task Init (rtems_task_argument );
     525  #ifdef __cplusplus
     526  }
     527  #endif
    521528  #define CONFIGURE_INIT_TASK_ENTRY_POINT   Init
     529  extern const char* bsp_boot_cmdline;
     530  #define CONFIGURE_INIT_TASK_ARGUMENTS     ((rtems_task_argument) &bsp_boot_cmdline)
    522531#endif
    523532
Note: See TracChangeset for help on using the changeset viewer.