WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] stubdom: for safety, tell lwip we use the heap in th

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] stubdom: for safety, tell lwip we use the heap in the event handler
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 12:47:27 +0100
Delivery-date: Mon, 11 Aug 2008 04:47:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
stubdom: for safety, tell lwip we use the heap in the event handler

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r 11fa26c6c46c extras/mini-os/include/lwipopts.h
--- a/extras/mini-os/include/lwipopts.h Mon Aug 11 12:36:57 2008 +0100
+++ b/extras/mini-os/include/lwipopts.h Mon Aug 11 12:45:05 2008 +0100
@@ -15,6 +15,7 @@
 #define LWIP_DHCP 1
 #define LWIP_COMPAT_SOCKETS 0
 #define LWIP_IGMP 1
+#define LWIP_USE_HEAP_FROM_INTERRUPT 1
 #define MEMP_NUM_SYS_TIMEOUT 10
 #define TCP_SND_BUF 3000
 #define TCP_MSS 1500

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] stubdom: for safety, tell lwip we use the heap in the event handler, Samuel Thibault <=