thread_state.hh (3686:fa8d8b90cd8a) | thread_state.hh (5497:89a6483d7047) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 77 unchanged lines hidden (view full) --- 86 87 int readTid() { return tid; } 88 89 Tick readLastActivate() { return lastActivate; } 90 91 Tick readLastSuspend() { return lastSuspend; } 92 93#if FULL_SYSTEM | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 77 unchanged lines hidden (view full) --- 86 87 int readTid() { return tid; } 88 89 Tick readLastActivate() { return lastActivate; } 90 91 Tick readLastSuspend() { return lastSuspend; } 92 93#if FULL_SYSTEM |
94 void connectMemPorts(); | 94 void connectMemPorts(ThreadContext *tc); |
95 96 void connectPhysPort(); 97 | 95 96 void connectPhysPort(); 97 |
98 void connectVirtPort(); | 98 void connectVirtPort(ThreadContext *tc); |
99 100 void dumpFuncProfile(); 101 102 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; } 103 104 void profileClear(); 105 106 void profileSample(); --- 89 unchanged lines hidden (view full) --- 196 197 TheISA::Kernel::Statistics *kernelStats; 198 protected: 199 /** A functional port outgoing only for functional accesses to physical 200 * addresses.*/ 201 FunctionalPort *physPort; 202 203 /** A functional port, outgoing only, for functional accesse to virtual | 99 100 void dumpFuncProfile(); 101 102 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; } 103 104 void profileClear(); 105 106 void profileSample(); --- 89 unchanged lines hidden (view full) --- 196 197 TheISA::Kernel::Statistics *kernelStats; 198 protected: 199 /** A functional port outgoing only for functional accesses to physical 200 * addresses.*/ 201 FunctionalPort *physPort; 202 203 /** A functional port, outgoing only, for functional accesse to virtual |
204 * addresses. That doen't require execution context information */ | 204 * addresses. */ |
205 VirtualPort *virtPort; 206#else 207 TranslatingPort *port; 208 209 Process *process; 210 211 // Address space ID. Note that this is used for TIMING cache 212 // simulation only; all functional memory accesses should use --- 46 unchanged lines hidden --- | 205 VirtualPort *virtPort; 206#else 207 TranslatingPort *port; 208 209 Process *process; 210 211 // Address space ID. Note that this is used for TIMING cache 212 // simulation only; all functional memory accesses should use --- 46 unchanged lines hidden --- |