summaryrefslogtreecommitdiff
path: root/mem/packet.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-04-12 17:46:32 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-04-12 17:46:32 -0400
commit2dcc9ec5b2f3bb094b53a47fafcf4e0820f7b24b (patch)
tree8436c999b9b30150067e40f1eac7e335d07caf60 /mem/packet.hh
parentf69801d9e0abacf4ce6e75eab8b68298670ac743 (diff)
parent81a735a7166f206848a3ec5f7a8153336347f3ae (diff)
downloadgem5-2dcc9ec5b2f3bb094b53a47fafcf4e0820f7b24b.tar.xz
Merge zizzer:/bk/newmem
into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : 5fc80b28362c4acc4dee576f60296b81aea004f2
Diffstat (limited to 'mem/packet.hh')
-rw-r--r--mem/packet.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/mem/packet.hh b/mem/packet.hh
index 91e56385d..843d34ac0 100644
--- a/mem/packet.hh
+++ b/mem/packet.hh
@@ -128,6 +128,12 @@ struct Packet
/** Accessor function that returns the destination index of
the packet. */
short getDest() const { return dest; }
+
+ Packet()
+ : result(Unknown)
+ {}
+
+ void reset() { result = Unknown; }
};
#endif //__MEM_PACKET_HH