/* * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #define CONFIGURE_INIT #include "system.h" #if !BSP_SMALL_MEMORY #include #include #include "netconfig.h" #endif rtems_task Init(rtems_task_argument argument) { #if BSP_SMALL_MEMORY printf("NO NETWORKING. MEMORY TOO SMALL"); #else /* initialize network */ rtems_bsdnet_initialize_network(); rtems_pppd_initialize(); pppdapp_initialize(); #endif rtems_task_delete(RTEMS_SELF); }