summaryrefslogtreecommitdiff
path: root/src/dev/i8254xGBe.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:30:08 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-07-01 10:30:08 -0400
commit7a83c50a597f73f302ab5fcf372faa35c56a1b06 (patch)
treec778b2a163b1dd4aae1c349e239dafa3fc4c8877 /src/dev/i8254xGBe.hh
parenta4a7a09e9622d6ad1ca91a4df253b9768c73de90 (diff)
downloadgem5-7a83c50a597f73f302ab5fcf372faa35c56a1b06.tar.xz
Fix cases where RADV interrupt timer is used and make ITR interrupt moderation not always delay if no interrupts have been posted for the ITR value.
Diffstat (limited to 'src/dev/i8254xGBe.hh')
-rw-r--r--src/dev/i8254xGBe.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/i8254xGBe.hh b/src/dev/i8254xGBe.hh
index 7957eb515..a69793bd4 100644
--- a/src/dev/i8254xGBe.hh
+++ b/src/dev/i8254xGBe.hh
@@ -622,6 +622,7 @@ class IGbE : public EtherDevice
virtual EtherInt *getEthPort(const std::string &if_name, int idx);
Tick clock;
+ Tick lastInterrupt;
inline Tick ticks(int numCycles) const { return numCycles * clock; }
virtual Tick read(PacketPtr pkt);