Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


fixed ceil linking issue and net.c compile problems
[palacios.git] / geekos / src / geekos / net.c
index ceb41c1..0d28088 100644 (file)
@@ -5,6 +5,7 @@
 #include <geekos/net.h>
 #include <geekos/socket.h>
 #include <geekos/ne2k.h>
+
 #include <geekos/debug.h>
 
 #ifdef LWIP
@@ -16,6 +17,7 @@
 #include <lwip/sys.h>
 #include <lwip/netifapi.h>
 #include <lwip/tcpip.h>
+
 #include <netif/etharp.h>
 
 
@@ -34,7 +36,8 @@ void Init_Network() {
   //temporay now we are using lwip sockets
   // init_socket_layer();
 
-#ifdef LWIP  
+#ifdef LWIP
+  
   struct ip_addr ipaddr, netmask, gateway;
   sys_sem_t sem;
   err_t err;
@@ -77,6 +80,8 @@ void Init_Network() {
 }
 
 
+
+
 #if 0
 void test_network() {