From 8351660273980196269ae14165ae7158c6ffc392 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Thu, 18 Oct 2007 13:15:08 -0400 Subject: CPU: Use the ThreadContext cpu id instead of the params cpu id in all cases. --HG-- extra : convert_revision : 6d025764682181b1f67df3b1d8d1d59099136df7 --- src/cpu/simple/base.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu/simple/base.hh') diff --git a/src/cpu/simple/base.hh b/src/cpu/simple/base.hh index 2bc329b68..337ef5285 100644 --- a/src/cpu/simple/base.hh +++ b/src/cpu/simple/base.hh @@ -117,6 +117,10 @@ class BaseSimpleCPU : public BaseCPU * objects to modify this thread's state. */ ThreadContext *tc; + protected: + int cpuId; + + public: #if FULL_SYSTEM Addr dbg_vtophys(Addr addr); -- cgit v1.2.3