diff options
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r-- | src/mem/packet.hh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 66625b382..b5b882c91 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -324,10 +324,10 @@ class Packet : public Printable private: /** - * A pointer to the data being transfered. It can be differnt - * sizes at each level of the heirarchy so it belongs in the + * A pointer to the data being transferred. It can be different + * sizes at each level of the hierarchy so it belongs to the * packet, not request. This may or may not be populated when a - * responder recieves the packet. If not populated it memory should + * responder receives the packet. If not populated memory should * be allocated. */ PacketDataPtr data; @@ -1096,8 +1096,8 @@ class Packet : public Printable } /** - * Copy data from the packet to the provided block pointer, which - * is aligned to the given block size. + * Copy data from the packet to the memory at the provided pointer. + * @param p Pointer to which data will be copied. */ void writeData(uint8_t *p) const @@ -1106,7 +1106,10 @@ class Packet : public Printable } /** - * Copy data from the packet to the memory at the provided pointer. + * Copy data from the packet to the provided block pointer, which + * is aligned to the given block size. + * @param blk_data Pointer to block to which data will be copied. + * @param blkSize Block size in bytes. */ void writeDataToBlock(uint8_t *blk_data, int blkSize) const |