diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-29 17:37:41 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-29 17:37:41 -0500 |
commit | 35faf09bcce4eaac5d6899d7e371b2506d1b256f (patch) | |
tree | ad93a7953130d4be1e911a469452b7f8e3f5ee6a /mem/packet.hh | |
parent | d46d3d6811822d218c137cd6d991e6b4981811d6 (diff) | |
parent | 62f5d7dd3ffbbb33e8371af589eaa69280bd017a (diff) | |
download | gem5-35faf09bcce4eaac5d6899d7e371b2506d1b256f.tar.xz |
Merge zizzer:/bk/newmem
into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision : 5ab4ce9f6ec7af326d8906060ae3558cfd67ca08
Diffstat (limited to 'mem/packet.hh')
-rw-r--r-- | mem/packet.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mem/packet.hh b/mem/packet.hh index ef28a7c9e..91e56385d 100644 --- a/mem/packet.hh +++ b/mem/packet.hh @@ -97,7 +97,11 @@ struct Packet /** A pointer to the data being transfered. It can be differnt sizes at each level of the heirarchy so it belongs in the packet, - not request*/ + not request. + This pointer may be NULL! If it isn't null when received by the producer + of data it refers to memory that has not been dynamically allocated. + Otherwise the producer should simply allocate dynamic memory to use. + */ PacketDataPtr data; /** Indicates the size of the request. */ |