summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-01-02 13:46:22 -0800
committerSteve Reinhardt <stever@gmail.com>2008-01-02 13:46:22 -0800
commitcde5a79eab22a3f6f10ebc68f24260721c98790f (patch)
tree008ab1f1fc7ce5a0397490be9028c7ce47999f1d /src/base
parent3952e41ab1f1dfaa2f97a6a486528e4ea0bfc5a1 (diff)
downloadgem5-cde5a79eab22a3f6f10ebc68f24260721c98790f.tar.xz
Additional comments and helper functions for PrintReq.
--HG-- extra : convert_revision : 7eadf9b7db8c0289480f771271b6efe2400006d4
Diffstat (limited to 'src/base')
-rw-r--r--src/base/printable.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/printable.hh b/src/base/printable.hh
index 1f71cce12..f79843ee5 100644
--- a/src/base/printable.hh
+++ b/src/base/printable.hh
@@ -36,6 +36,11 @@
#include <ostream>
#include <string>
+/**
+ * Abstract base class for objects which support being printed
+ * to a stream for debugging. Primarily used to support PrintReq
+ * in memory system.
+ */
class Printable
{
public: