summaryrefslogtreecommitdiff
path: root/mem/packet.hh
diff options
context:
space:
mode:
Diffstat (limited to 'mem/packet.hh')
-rw-r--r--mem/packet.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/mem/packet.hh b/mem/packet.hh
index 5eb9b881c..ca2a84fb3 100644
--- a/mem/packet.hh
+++ b/mem/packet.hh
@@ -35,6 +35,7 @@
#ifndef __MEM_PACKET_HH__
#define __MEM_PACKET_HH__
+#include "mem/request.hh"
/** List of all commands associated with a packet. */
enum Command
@@ -50,6 +51,11 @@ enum PacketResult
BadAddress
};
+class SenderState{};
+class Coherence{};
+
+typedef PacketDataPtr *unit8_t;
+
/**
* A Packet is the structure to handle requests between two levels
* of the memory system. The Request is a global object that trancends
@@ -112,4 +118,6 @@ struct Packet
short getDest() const { return dest; }
};
+typedef PacketPtr *Packet;
+
#endif //__MEM_PACKET_HH