thread_state.hh (8761:20322354b80b) thread_state.hh (8764:e4660687c49f)
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;

--- 96 unchanged lines hidden (view full) ---

105
106 void profileClear();
107
108 void profileSample();
109
110 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
111#else
112 Process *getProcessPtr() { return process; }
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;

--- 96 unchanged lines hidden (view full) ---

105
106 void profileClear();
107
108 void profileSample();
109
110 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
111#else
112 Process *getProcessPtr() { return process; }
113#endif
113
114 TranslatingPort *getMemPort();
115
116 void setMemPort(TranslatingPort *_port) { port = _port; }
114
115 TranslatingPort *getMemPort();
116
117 void setMemPort(TranslatingPort *_port) { port = _port; }
117#endif
118
119 VirtualPort *getVirtPort() { return virtPort; }
120
121 FunctionalPort *getPhysPort() { return physPort; }
122
123 void setPhysPort(FunctionalPort *port) { physPort = port; }
124
125 /** Reads the number of instructions functionally executed and

--- 56 unchanged lines hidden (view full) ---

182 FunctionProfile *profile;
183 ProfileNode *profileNode;
184 Addr profilePC;
185 EndQuiesceEvent *quiesceEvent;
186
187 TheISA::Kernel::Statistics *kernelStats;
188 protected:
189#else
118
119 VirtualPort *getVirtPort() { return virtPort; }
120
121 FunctionalPort *getPhysPort() { return physPort; }
122
123 void setPhysPort(FunctionalPort *port) { physPort = port; }
124
125 /** Reads the number of instructions functionally executed and

--- 56 unchanged lines hidden (view full) ---

182 FunctionProfile *profile;
183 ProfileNode *profileNode;
184 Addr profilePC;
185 EndQuiesceEvent *quiesceEvent;
186
187 TheISA::Kernel::Statistics *kernelStats;
188 protected:
189#else
190 TranslatingPort *port;
191
192 Process *process;
193#endif
194
190 Process *process;
191#endif
192
193 TranslatingPort *port;
194
195 /** A functional port, outgoing only, for functional accesse to virtual
196 * addresses. */
197 VirtualPort *virtPort;
198
199 /** A functional port outgoing only for functional accesses to physical
200 * addresses.*/
201 FunctionalPort *physPort;
202

--- 14 unchanged lines hidden ---
195 /** A functional port, outgoing only, for functional accesse to virtual
196 * addresses. */
197 VirtualPort *virtPort;
198
199 /** A functional port outgoing only for functional accesses to physical
200 * addresses.*/
201 FunctionalPort *physPort;
202

--- 14 unchanged lines hidden ---