From 62f5d7dd3ffbbb33e8371af589eaa69280bd017a Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 29 Mar 2006 17:37:25 -0500 Subject: 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 --- mem/packet.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mem') 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. */ -- cgit v1.2.3