diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-11-17 01:27:08 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-11-17 01:27:08 -0500 |
commit | 5f6328d9c63e44dd16be54a6fbab4fbdb3b78d7e (patch) | |
tree | 659cbca3325dc0aaed454585bea496f4f7b2a5ef /configs/boot | |
parent | c43c3f2af3d328e040b1e8f8149879b1cdb74c5f (diff) | |
download | gem5-5f6328d9c63e44dd16be54a6fbab4fbdb3b78d7e.tar.xz |
properly implement the fifo _reserved stuff.
dev/pktfifo.cc:
need to checkpoint _reserved
dev/pktfifo.hh:
When clearing, clear _reserved
size() is used for determining how many bytes are in the fifo
ready to be pulled, so we don't want to add _reserved
avail() on the other hand is used for determining how much
free space is in the fifo for adding packets.
adjust the implementation of empty() and full() to reflect this.
--HG--
extra : convert_revision : 3281972b4b70ea5833d39ae7ce1e73648b3573b0
Diffstat (limited to 'configs/boot')
0 files changed, 0 insertions, 0 deletions