4.115
Line | |
---|
1 | #ifdef HAVE_CONFIG_H |
---|
2 | #include "config.h" |
---|
3 | #endif |
---|
4 | |
---|
5 | |
---|
6 | #include <stdio.h> |
---|
7 | #include <stdlib.h> |
---|
8 | #include <string.h> |
---|
9 | |
---|
10 | #define CONFIGURE_INIT |
---|
11 | #include "system.h" |
---|
12 | |
---|
13 | #if !BSP_SMALL_MEMORY |
---|
14 | #include <rtems/rtems_bsdnet.h> |
---|
15 | #include <rtems/rtemspppd.h> |
---|
16 | #include "netconfig.h" |
---|
17 | extern int pppdapp_initialize(void); |
---|
18 | #endif |
---|
19 | |
---|
20 | rtems_task Init(rtems_task_argument argument) |
---|
21 | { |
---|
22 | #if BSP_SMALL_MEMORY |
---|
23 | printf("NO NETWORKING. MEMORY TOO SMALL"); |
---|
24 | #else |
---|
25 | /* initialize network */ |
---|
26 | rtems_bsdnet_initialize_network(); |
---|
27 | rtems_pppd_initialize(); |
---|
28 | pppdapp_initialize(); |
---|
29 | #endif |
---|
30 | rtems_task_delete(RTEMS_SELF); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.