diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-03-29 17:40:09 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-03-29 17:40:09 -0500 |
commit | 2177d822ce1eecffb685f13468412c99b1e59ecd (patch) | |
tree | 4ae56528a80dcffacda85b6e4a1c5602c6f19652 /mem/packet.hh | |
parent | 1e4e989b8396b9f4f322fb27bbfa1cf9e2007334 (diff) | |
parent | 3dcb589ea46290ecfe2c2e54ebf2ba8921a932ed (diff) | |
download | gem5-2177d822ce1eecffb685f13468412c99b1e59ecd.tar.xz |
Merge m5.eecs.umich.edu:/bk/newmem
into ewok.(none):/home/gblack/m5/newmem
--HG--
extra : convert_revision : 7866241cf43416636cbd6a3a4f6eeda561ed2e27
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. */ |