thread_context.hh (5260:9f412d1c6d8b) thread_context.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;

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

129 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
130
131 virtual FunctionalPort *getPhysPort() = 0;
132
133 virtual VirtualPort *getVirtPort(ThreadContext *tc = NULL) = 0;
134
135 virtual void delVirtPort(VirtualPort *vp) = 0;
136
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;

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

129 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
130
131 virtual FunctionalPort *getPhysPort() = 0;
132
133 virtual VirtualPort *getVirtPort(ThreadContext *tc = NULL) = 0;
134
135 virtual void delVirtPort(VirtualPort *vp) = 0;
136
137 virtual void connectMemPorts() = 0;
137 virtual void connectMemPorts(ThreadContext *tc) = 0;
138#else
139 virtual TranslatingPort *getMemPort() = 0;
140
141 virtual Process *getProcessPtr() = 0;
142#endif
143
144 virtual Status status() const = 0;
145

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

320 { return actualTC->getKernelStats(); }
321
322 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
323
324 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return actualTC->getVirtPort(tc); }
325
326 void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); }
327
138#else
139 virtual TranslatingPort *getMemPort() = 0;
140
141 virtual Process *getProcessPtr() = 0;
142#endif
143
144 virtual Status status() const = 0;
145

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

320 { return actualTC->getKernelStats(); }
321
322 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); }
323
324 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return actualTC->getVirtPort(tc); }
325
326 void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); }
327
328 void connectMemPorts() { actualTC->connectMemPorts(); }
328 void connectMemPorts(ThreadContext *tc) { actualTC->connectMemPorts(tc); }
329#else
330 TranslatingPort *getMemPort() { return actualTC->getMemPort(); }
331
332 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
333#endif
334
335 Status status() const { return actualTC->status(); }
336

--- 146 unchanged lines hidden ---
329#else
330 TranslatingPort *getMemPort() { return actualTC->getMemPort(); }
331
332 Process *getProcessPtr() { return actualTC->getProcessPtr(); }
333#endif
334
335 Status status() const { return actualTC->status(); }
336

--- 146 unchanged lines hidden ---