thread_context.hh (8761:20322354b80b) thread_context.hh (8764:e4660687c49f)
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;

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

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#else
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;

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

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#else
102 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); }
103
104 /** Returns a pointer to this thread's process. */
105 virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
106#endif
107
102 /** Returns a pointer to this thread's process. */
103 virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
104#endif
105
106 virtual TranslatingPort *getMemPort() { return thread->getMemPort(); }
107
108 virtual VirtualPort *getVirtPort();
109
110 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
111
112 /** Returns this thread's status. */
113 virtual Status status() const { return thread->status(); }
114
115 /** Sets this thread's status. */

--- 135 unchanged lines hidden ---
108 virtual VirtualPort *getVirtPort();
109
110 virtual FunctionalPort *getPhysPort() { return thread->getPhysPort(); }
111
112 /** Returns this thread's status. */
113 virtual Status status() const { return thread->status(); }
114
115 /** Sets this thread's status. */

--- 135 unchanged lines hidden ---