lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PRO


From: Bill Auerbach
Subject: [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1
Date: Tue, 03 Mar 2009 15:53:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

Follow-up Comment #7, bug #25608 (project lwip):

No, it needs 32 bits to store the current interrupt state which is then set
to 0.  To restore interrupts, this 32-bit value is written back to the
register to enable only those interrupts that were on to begin with.

We shouldn't assume anything about how an arch will implement something that
is arch-specific, including data types.  I overrode err_t because a u32_t on
my previous system was more efficient than the default s8_t.  Sure, it may be
negligible, but should anyone be forced into using types or methods
inefficient for their architecture?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25608>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]