diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-10-16 02:59:53 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-10-16 02:59:53 -0700 |
commit | e8e9f9731281e8c2ecb50a9aa318a65402cbee5c (patch) | |
tree | 4fd7bd419960066fad691d13e08f43dd5faaa729 /src/cpu/simple_thread.hh | |
parent | 85ca77d114f6c1bc3b90ce2faa02259aa6d825fe (diff) | |
download | gem5-e8e9f9731281e8c2ecb50a9aa318a65402cbee5c.tar.xz |
CPU: Make physPort and getPhysPort available in SE mode.
Diffstat (limited to 'src/cpu/simple_thread.hh')
-rw-r--r-- | src/cpu/simple_thread.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index 2b7b89030..30dca8369 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -208,8 +208,6 @@ class SimpleThread : public ThreadState System *getSystemPtr() { return system; } #if FULL_SYSTEM - FunctionalPort *getPhysPort() { return physPort; } - /** Return a virtual port. This port cannot be cached locally in an object. * After a CPU switch it may point to the wrong memory object which could * mean stale data. @@ -217,6 +215,8 @@ class SimpleThread : public ThreadState VirtualPort *getVirtPort() { return virtPort; } #endif + FunctionalPort *getPhysPort() { return physPort; } + Status status() const { return _status; } void setStatus(Status newStatus) { _status = newStatus; } |