summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-07 05:36:54 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-07 05:36:54 -0500
commit4bfb8547bbdee3bd0ec23ae067ff04fd5e07f4be (patch)
treef8e71b2820b19c8520fbc7e705368e67996c70b2 /src/cpu/thread_context.hh
parent54241565167bcab9fd3ae47010e46e7e8ad04826 (diff)
downloadgem5-4bfb8547bbdee3bd0ec23ae067ff04fd5e07f4be.tar.xz
Moved the switched version of kernel_stats.hh back to kern, and moved the base kernel_stats to base_kernel_stats
--HG-- extra : convert_revision : 2a010d2eb7ea2586ff063b99b8bcde6eb1e8e017
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index 82d75b161..1e6a907f8 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -56,8 +56,10 @@ class FunctionalPort;
class VirtualPort;
class Process;
class System;
-namespace Kernel {
- class Statistics;
+namespace TheISA {
+ namespace Kernel {
+ class Statistics;
+ };
};
/**
@@ -124,7 +126,7 @@ class ThreadContext
virtual TheISA::DTB *getDTBPtr() = 0;
- virtual Kernel::Statistics *getKernelStats() = 0;
+ virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
virtual FunctionalPort *getPhysPort() = 0;
@@ -295,7 +297,8 @@ class ProxyThreadContext : public ThreadContext
TheISA::DTB *getDTBPtr() { return actualTC->getDTBPtr(); }
- Kernel::Statistics *getKernelStats() { return actualTC->getKernelStats(); }
+ TheISA::Kernel::Statistics *getKernelStats()
+ { return actualTC->getKernelStats(); }
FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }