Get rid of deque (poor memory allocation), switch them over to lists.

Beware that using size() on a list is a O(n) operation.

dev/ns_gige.hh:
    Remove typedefs that (I assume) were copied over from etherdev.hh.  They were unused in the ns_gige code.

--HG--
extra : convert_revision : 577954ec26b899bd6329ce6a4aaa1d9b0ba4f34c
This commit is contained in:
Kevin Lim 2006-02-17 15:07:48 -05:00
parent d6a330ebb9
commit dd11b2c4ff

View file

@ -170,9 +170,6 @@ class NSGigE : public PciDev
static const Addr size = sizeof(dp_regs);
protected:
typedef std::deque<PacketPtr> pktbuf_t;
typedef pktbuf_t::iterator pktiter_t;
/** device register file */
dp_regs regs;
dp_rom rom;