source: rtems/c/src/lib/libbsp/unix/posix/startup/main.c @ a4ed6b1

4.104.115
Last change on this file since a4ed6b1 was a4ed6b1, checked in by Chris Johns <chrisj@…>, on 04/28/09 at 06:35:34

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

  • startup/main.c: Update for boot_card command line change.
  • Property mode set to 100644
File size: 490 bytes
Line 
1/*
2 *  Description:
3 *  This file exists solely to (try to) ensure RTEMS is initialized.
4 *  It is not to be used in systems which want C++ support.
5 *
6 *  $Id$
7 */
8
9#include <bsp.h>
10#include <stdio.h>
11#include <stdlib.h>
12
13/*
14 * RTEMS program name
15 * Probably not used by anyone, but it is nice to have it.
16 * Actually the UNIX version of CPU_INVOKE_DEBUGGER will probably
17 * need to use it
18 */
19
20char *rtems_progname;
21
22int main(
23  int argc,
24  char **argv
25)
26{
27  boot_card(0);
28
29  return 0;
30}
Note: See TracBrowser for help on using the repository browser.