source: rtems/testsuites/samples/pppd/init.c @ 3324383c

4.11
Last change on this file since 3324383c was 3324383c, checked in by Joel Sherrill <joel.sherrill@…>, on May 5, 2014 at 2:47:30 PM

testsuites: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 751 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#ifdef HAVE_CONFIG_H
11#include "config.h"
12#endif
13
14#include <stdio.h>
15#include <stdlib.h>
16#include <string.h>
17
18#define CONFIGURE_INIT
19#include "system.h"
20
21#include <rtems/rtems_bsdnet.h>
22#include <rtems/rtemspppd.h>
23#include "netconfig.h"
24
25const char rtems_test_name[] = "PPPD";
26
27rtems_task Init(rtems_task_argument argument)
28{
29  rtems_test_begin();
30
31  /* initialize network */
32  rtems_bsdnet_initialize_network();
33  rtems_pppd_initialize();
34  pppdapp_initialize();
35  rtems_task_delete(RTEMS_SELF);
36}
Note: See TracBrowser for help on using the repository browser.