summaryrefslogtreecommitdiff
path: root/src/dev/io_device.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-03-24 01:08:02 -0400
committerSteve Reinhardt <stever@gmail.com>2008-03-24 01:08:02 -0400
commit93ab43288a75061746701c9d22a355793f330a9c (patch)
treea5ea6a953da81990b90562739b952ee9d4b0c026 /src/dev/io_device.hh
parent627592c2f2a9d2774df50b2b5039efcb71432bc7 (diff)
downloadgem5-93ab43288a75061746701c9d22a355793f330a9c.tar.xz
Don't FastAlloc MSHRs since we don't allocate them on the fly.
--HG-- extra : convert_revision : 02775cfb460afe6df0df0938c62cccd93a71e775
Diffstat (limited to 'src/dev/io_device.hh')
-rw-r--r--src/dev/io_device.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/io_device.hh b/src/dev/io_device.hh
index 876166adb..44aa01798 100644
--- a/src/dev/io_device.hh
+++ b/src/dev/io_device.hh
@@ -32,6 +32,7 @@
#ifndef __DEV_IO_DEVICE_HH__
#define __DEV_IO_DEVICE_HH__
+#include "base/fast_alloc.hh"
#include "mem/mem_object.hh"
#include "mem/packet.hh"
#include "mem/tport.hh"
@@ -73,7 +74,7 @@ class PioPort : public SimpleTimingPort
class DmaPort : public Port
{
protected:
- struct DmaReqState : public Packet::SenderState
+ struct DmaReqState : public Packet::SenderState, public FastAlloc
{
/** Event to call on the device when this transaction (all packets)
* complete. */