diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-11-16 23:59:51 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-11-16 23:59:51 -0500 |
commit | a109296bdeaf43c76c2384c67b05d4b5bd484ff4 (patch) | |
tree | 492f85f04edf439f33c9fd16c70784b7a4dde50a /sim | |
parent | 8de12dc09ac1cf471f201964db68308656fdb6f6 (diff) | |
download | gem5-a109296bdeaf43c76c2384c67b05d4b5bd484ff4.tar.xz |
Fix a bug where we would improperly calculate if the FIFO was
full by adding a reserve feature to the packet fifo which allows
us to reserve space in the fifo if only part of a packet was
copied into the fifo.
dev/ns_gige.cc:
use the new reserve feature in the fifo to properly determine
when we're full. assert that adding a packet to the fifo suceeds.
dev/pktfifo.hh:
add the ability to reserve space in the fifo. This is useful for
partial writing of packets into the fifo.
--HG--
extra : convert_revision : 83f871f34fac237bb464c9513cf6490b5c62420e
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions