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.


added a configuration structure for the binary inputs to the vmm (ramdisk, bios)
[palacios.git] / geekos / src / geekos / net.c
index 7067a38..a97de89 100644 (file)
@@ -5,6 +5,10 @@
 #include <geekos/net.h>
 #include <geekos/socket.h>
 #include <geekos/ne2k.h>
+
+#include <geekos/debug.h>
+
+#ifdef LWIP
 #include <lwip/apps/ping.h>
 #include <lwip/lwip/sockets.h>
 #include <lwip/ipv4/lwip/ip_addr.h>
@@ -12,8 +16,8 @@
 #include <lwip/sys.h>
 #include <lwip/netifapi.h>
 #include <lwip/tcpip.h>
+
 #include <netif/etharp.h>
-#include <geekos/debug.h>
 
 
 static void
@@ -67,6 +71,8 @@ void Init_Network() {
   ping_init();
 }
 
+#endif
+
 
 #if 0
 void test_network() {