thread_context.hh (8809:bb10807da889) thread_context.hh (8852:c744483edfcf)
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

109
110 /** Returns a pointer to this thread's kernel statistics. */
111 virtual TheISA::Kernel::Statistics *getKernelStats()
112 { return thread->kernelStats; }
113
114 /** Returns a pointer to this thread's process. */
115 virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
116
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

109
110 /** Returns a pointer to this thread's kernel statistics. */
111 virtual TheISA::Kernel::Statistics *getKernelStats()
112 { return thread->kernelStats; }
113
114 /** Returns a pointer to this thread's process. */
115 virtual Process *getProcessPtr() { return thread->getProcessPtr(); }
116
117 virtual PortProxy* getPhysProxy() { return thread->getPhysProxy(); }
117 virtual PortProxy &getPhysProxy() { return thread->getPhysProxy(); }
118
118
119 virtual FSTranslatingPortProxy* getVirtProxy();
119 virtual FSTranslatingPortProxy &getVirtProxy();
120
121 virtual void initMemProxies(ThreadContext *tc)
122 { thread->initMemProxies(tc); }
123
120
121 virtual void initMemProxies(ThreadContext *tc)
122 { thread->initMemProxies(tc); }
123
124 virtual SETranslatingPortProxy* getMemProxy()
124 virtual SETranslatingPortProxy &getMemProxy()
125 { return thread->getMemProxy(); }
126
127 /** Returns this thread's status. */
128 virtual Status status() const { return thread->status(); }
129
130 /** Sets this thread's status. */
131 virtual void setStatus(Status new_status)
132 { thread->setStatus(new_status); }

--- 132 unchanged lines hidden ---
125 { return thread->getMemProxy(); }
126
127 /** Returns this thread's status. */
128 virtual Status status() const { return thread->status(); }
129
130 /** Sets this thread's status. */
131 virtual void setStatus(Status new_status)
132 { thread->setStatus(new_status); }

--- 132 unchanged lines hidden ---