From 9ab2426199e860d5e2f40468c42c33ef0c5f1fb1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 9 Sep 2007 11:58:50 +0000 Subject: Added network init; refactored some header files git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@338 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/sched/os_start.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'nuttx/sched/os_start.c') diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index c017782957..7591e88781 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -44,8 +44,10 @@ #include #include #include +#include #include -#include +#include +#include #include "os_internal.h" #include "sig_internal.h" #include "wd_internal.h" @@ -387,6 +389,17 @@ void os_start(void) } #endif + /* Initialize the network system */ + +#ifdef CONFIG_NET +#if 0 + if (net_initialize != NULL) +#endif + { + net_initialize(); + } +#endif + /* The processor specific details of running the operating system * will be handled here. Such things as setting up interrupt * service routines and starting the clock are some of the things -- cgit v1.2.3