|
From: | Jörg Kesten |
Subject: | Re: [lwip-users] Porting LWIP into TI C6203 bug fix |
Date: | Tue, 23 Dec 2003 10:15:15 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 |
Andreas Stenius wrote:
Amit Kristal wrote: [snip] > Questions: >> 1. I get strange values when looking at stats.mem.used, is there a problem> using it? > I've seen weird values for stats.mem, but thought it had to do with my implementation doing bad stuff to the stack. Haven't got the time to investigate it yet, though.
I think this is because the stats structure is not initialized at startup and therefore contains random data. On the 6203 variables are not initialized to zero automatically! (There is a compiler/linker option to enable this, but for some reason I don't remember right now using it wasn't a good idea ..)
Jörg
[Prev in Thread] | Current Thread | [Next in Thread] |