thread_context.hh (5259:74ef5093154f) | thread_context.hh (5497:89a6483d7047) |
---|---|
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 { return thread->kernelStats; } 94 95 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); } 96 97 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL); 98 99 void delVirtPort(VirtualPort *vp); 100 | 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 { return thread->kernelStats; } 94 95 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); } 96 97 virtual VirtualPort *getVirtPort(ThreadContext *src_tc = NULL); 98 99 void delVirtPort(VirtualPort *vp); 100 |
101 virtual void connectMemPorts() { thread->connectMemPorts(); } | 101 virtual void connectMemPorts(ThreadContext *tc) { thread->connectMemPorts(tc); } |
102#else 103 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } 104 105 /** Returns a pointer to this thread's process. */ 106 virtual Process *getProcessPtr() { return thread->getProcessPtr(); } 107#endif 108 /** Returns this thread's status. */ 109 virtual Status status() const { return thread->status(); } --- 159 unchanged lines hidden --- | 102#else 103 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); } 104 105 /** Returns a pointer to this thread's process. */ 106 virtual Process *getProcessPtr() { return thread->getProcessPtr(); } 107#endif 108 /** Returns this thread's status. */ 109 virtual Status status() const { return thread->status(); } --- 159 unchanged lines hidden --- |