diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:24:16 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:24:16 -0400 |
commit | 50e3e50e1ac592b357a47eecdc3c99a528172870 (patch) | |
tree | 1ee6c72dc10691ac920e793646e38c73049f3a8f /src/cpu/thread_state.hh | |
parent | 9bd0bfe559d8c9633c5686ccf100ab921eb6eda2 (diff) | |
download | gem5-50e3e50e1ac592b357a47eecdc3c99a528172870.tar.xz |
Make the cached virtPort have a thread context so it can do everything that a newly created one can.
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r-- | src/cpu/thread_state.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh index 4f878db1f..b6a62eebc 100644 --- a/src/cpu/thread_state.hh +++ b/src/cpu/thread_state.hh @@ -91,11 +91,11 @@ struct ThreadState { Tick readLastSuspend() { return lastSuspend; } #if FULL_SYSTEM - void connectMemPorts(); + void connectMemPorts(ThreadContext *tc); void connectPhysPort(); - void connectVirtPort(); + void connectVirtPort(ThreadContext *tc); void dumpFuncProfile(); @@ -201,7 +201,7 @@ struct ThreadState { FunctionalPort *physPort; /** A functional port, outgoing only, for functional accesse to virtual - * addresses. That doen't require execution context information */ + * addresses. */ VirtualPort *virtPort; #else TranslatingPort *port; |