1/* 2 * Copyright (c) 2004-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; --- 84 unchanged lines hidden (view full) --- 93 virtual System *getSystemPtr() { return cpu->system; } 94 95#if FULL_SYSTEM 96 /** Returns a pointer to this thread's kernel statistics. */ 97 virtual TheISA::Kernel::Statistics *getKernelStats() 98 { return thread->kernelStats; } 99 100 virtual void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); } |
101#endif |
102 /** Returns a pointer to this thread's process. */ 103 virtual Process *getProcessPtr() { return thread->getProcessPtr(); } |
104 105 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } 106 107 virtual VirtualPort *getVirtPort(); 108 109 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); } 110 111 /** Returns this thread's status. */ --- 138 unchanged lines hidden --- |