summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-03 11:05:56 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-03 11:05:56 -0500
commit4a5cb3f4250544cd5cdf423405d66471b33c545c (patch)
treef3ed9fc84dc4ed27929ee2853a1066952e0ba66e /src
parent29a79acb7c1b1c6614134f00097487d6baeed15b (diff)
downloadgem5-4a5cb3f4250544cd5cdf423405d66471b33c545c.tar.xz
The tc needs to be protected instead of private so that the CpuEventWrapper can access it.
--HG-- extra : convert_revision : bd836d63ac3630b20dda552e7b289730f3c114ef
Diffstat (limited to 'src')
-rw-r--r--src/cpu/cpuevent.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/cpuevent.hh b/src/cpu/cpuevent.hh
index 9dfae27cf..3339f8252 100644
--- a/src/cpu/cpuevent.hh
+++ b/src/cpu/cpuevent.hh
@@ -44,7 +44,7 @@ class ThreadContext;
* */
class CpuEvent : public Event
{
- private:
+ protected:
/** type of global list of cpu events. */
typedef std::vector<CpuEvent *> CpuEventList;