diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-04-12 17:46:32 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-04-12 17:46:32 -0400 |
commit | 2dcc9ec5b2f3bb094b53a47fafcf4e0820f7b24b (patch) | |
tree | 8436c999b9b30150067e40f1eac7e335d07caf60 /mem/packet.hh | |
parent | f69801d9e0abacf4ce6e75eab8b68298670ac743 (diff) | |
parent | 81a735a7166f206848a3ec5f7a8153336347f3ae (diff) | |
download | gem5-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.hh | 6 |
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 |