thread_context.hh (3675:dc883b610345) | thread_context.hh (3686:fa8d8b90cd8a) |
---|---|
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; --- 78 unchanged lines hidden (view full) --- 87 { return thread->kernelStats; } 88 89 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); } 90 91 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL); 92 93 void delVirtPort(VirtualPort *vp); 94 | 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; --- 78 unchanged lines hidden (view full) --- 87 { return thread->kernelStats; } 88 89 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); } 90 91 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL); 92 93 void delVirtPort(VirtualPort *vp); 94 |
95 virtual void init() { thread->init(); } | 95 virtual void connectMemPorts() { thread->connectMemPorts(); } |
96#else 97 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } 98 99 /** Returns a pointer to this thread's process. */ 100 virtual Process *getProcessPtr() { return thread->getProcessPtr(); } 101#endif 102 /** Returns this thread's status. */ 103 virtual Status status() const { return thread->status(); } --- 149 unchanged lines hidden --- | 96#else 97 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } 98 99 /** Returns a pointer to this thread's process. */ 100 virtual Process *getProcessPtr() { return thread->getProcessPtr(); } 101#endif 102 /** Returns this thread's status. */ 103 virtual Status status() const { return thread->status(); } --- 149 unchanged lines hidden --- |