summaryrefslogtreecommitdiff
path: root/mem/packet.hh
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-01-31 14:09:43 -0500
committerRon Dreslinski <rdreslin@umich.edu>2006-01-31 14:09:43 -0500
commitc0f012d13d7234263a7c0ec641604e8fd7efffdd (patch)
tree06cb36db438d50da365452e90463552804c257fe /mem/packet.hh
parenta1033448ead67ea2819d67609c0390aefc865b0f (diff)
downloadgem5-c0f012d13d7234263a7c0ec641604e8fd7efffdd.tar.xz
Listing some of the enum structures
--HG-- extra : convert_revision : d6ba1873826ee017bf2e4975a44eb2494a323132
Diffstat (limited to 'mem/packet.hh')
-rw-r--r--mem/packet.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/mem/packet.hh b/mem/packet.hh
index 675587a38..5eb9b881c 100644
--- a/mem/packet.hh
+++ b/mem/packet.hh
@@ -35,6 +35,21 @@
#ifndef __MEM_PACKET_HH__
#define __MEM_PACKET_HH__
+
+/** List of all commands associated with a packet. */
+enum Command
+{
+ Read,
+ Write
+};
+
+/** The result of a particular pakets request. */
+enum PacketResult
+{
+ Success,
+ BadAddress
+};
+
/**
* A Packet is the structure to handle requests between two levels
* of the memory system. The Request is a global object that trancends