diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-29 17:37:25 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-29 17:37:25 -0500 |
commit | 62f5d7dd3ffbbb33e8371af589eaa69280bd017a (patch) | |
tree | aa9a576e7b83598ff5e27a88147b037ad25c8c1c /mem | |
parent | c27c122afc6b778e67a9c77915fac71730a5a4ef (diff) | |
download | gem5-62f5d7dd3ffbbb33e8371af589eaa69280bd017a.tar.xz |
move stuff around so PageShift is defined before it is needed
don't ever include a file while in a namespace
start of making alpha console new memsystem happy
Make a BasePioDevice which is what all the simple Pio devices will inherit from
add a description of when the data pointer will have memory
arch/alpha/isa_traits.hh:
don't ever include a file while in a namespace
dev/alpha_console.cc:
dev/alpha_console.hh:
start of making alpha console new memsystem happy
dev/io_device.cc:
dev/io_device.hh:
Make a BasePioDevice which is what all the simple Pio devices will inherit from
mem/packet.hh:
add a description of when the data pointer will have memory
--HG--
extra : convert_revision : 495c0915541f9cad3eb42891e60b4ecbee7952bf
Diffstat (limited to 'mem')
-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. */ |