File: rtems_main.c

package info (click to toggle)
adasockets 1.8.6-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,336 kB
  • ctags: 93
  • sloc: sh: 8,947; ada: 1,676; ansic: 357; makefile: 222
file content (31 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *  Simple test program -- simplified version of sample test hello.
 */

#include <bsp.h>

#include <stdlib.h>
#include <stdio.h>

rtems_task Init(
  rtems_task_argument ignored
)
{
  extern void print_socket_constants_ads( void );
  print_socket_constants_ads();
  exit( 0 );
}

/* configuration information */

#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER

#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_MAXIMUM_TASKS 1

#define CONFIGURE_INIT

#include <rtems/confdefs.h>

/* end of file */