summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-08-14 19:28:44 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-08-14 19:28:44 -0500
commitae87d68551b06f0e9ca9046f7c0674a58961e837 (patch)
treec5a0f3c6af938b9e4a2af9c3c98839d09d43a4df /src/mem/ruby
parentd660b3145b5bf525814b28bedff2becf4d8c64d0 (diff)
downloadgem5-ae87d68551b06f0e9ca9046f7c0674a58961e837.tar.xz
ruby: DataBlock: adds a comment
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/common/DataBlock.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/common/DataBlock.hh b/src/mem/ruby/common/DataBlock.hh
index ac08fac82..129a88e25 100644
--- a/src/mem/ruby/common/DataBlock.hh
+++ b/src/mem/ruby/common/DataBlock.hh
@@ -67,6 +67,8 @@ class DataBlock
private:
void alloc();
uint8_t *m_data;
+ //! true if this DataBlock is responsible for deleting m_data,
+ //! false otherwise.
bool m_alloc;
};