thread_context.hh (3673:34386ba8cb41) | thread_context.hh (3686:fa8d8b90cd8a) |
---|---|
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 init() = 0; | 137 virtual void connectMemPorts() = 0; |
138#else 139 virtual TranslatingPort *getMemPort() = 0; 140 141 virtual Process *getProcessPtr() = 0; 142#endif 143 144 virtual Status status() const = 0; 145 --- 157 unchanged lines hidden (view full) --- 303 { return actualTC->getKernelStats(); } 304 305 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } 306 307 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return actualTC->getVirtPort(tc); } 308 309 void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); } 310 | 138#else 139 virtual TranslatingPort *getMemPort() = 0; 140 141 virtual Process *getProcessPtr() = 0; 142#endif 143 144 virtual Status status() const = 0; 145 --- 157 unchanged lines hidden (view full) --- 303 { return actualTC->getKernelStats(); } 304 305 FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } 306 307 VirtualPort *getVirtPort(ThreadContext *tc = NULL) { return actualTC->getVirtPort(tc); } 308 309 void delVirtPort(VirtualPort *vp) { return actualTC->delVirtPort(vp); } 310 |
311 void init() {actualTC->init(); } | 311 void connectMemPorts() { actualTC->connectMemPorts(); } |
312#else 313 TranslatingPort *getMemPort() { return actualTC->getMemPort(); } 314 315 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 316#endif 317 318 Status status() const { return actualTC->status(); } 319 --- 135 unchanged lines hidden --- | 312#else 313 TranslatingPort *getMemPort() { return actualTC->getMemPort(); } 314 315 Process *getProcessPtr() { return actualTC->getProcessPtr(); } 316#endif 317 318 Status status() const { return actualTC->status(); } 319 --- 135 unchanged lines hidden --- |