thread_context.hh (13905:5cf30883255c) thread_context.hh (14022:a7cdc33dab35)
1/*
2 * Copyright (c) 2011-2012, 2016-2018 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

60 class ISA;
61 class Decoder;
62}
63class BaseCPU;
64class BaseTLB;
65class CheckerCPU;
66class Checkpoint;
67class EndQuiesceEvent;
1/*
2 * Copyright (c) 2011-2012, 2016-2018 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

60 class ISA;
61 class Decoder;
62}
63class BaseCPU;
64class BaseTLB;
65class CheckerCPU;
66class Checkpoint;
67class EndQuiesceEvent;
68class SETranslatingPortProxy;
69class FSTranslatingPortProxy;
70class PortProxy;
71class Process;
72class System;
73namespace Kernel {
74 class Statistics;
75}
76
77/**

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

147 virtual TheISA::Decoder *getDecoderPtr() = 0;
148
149 virtual System *getSystemPtr() = 0;
150
151 virtual ::Kernel::Statistics *getKernelStats() = 0;
152
153 virtual PortProxy &getPhysProxy() = 0;
154
68class PortProxy;
69class Process;
70class System;
71namespace Kernel {
72 class Statistics;
73}
74
75/**

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

145 virtual TheISA::Decoder *getDecoderPtr() = 0;
146
147 virtual System *getSystemPtr() = 0;
148
149 virtual ::Kernel::Statistics *getKernelStats() = 0;
150
151 virtual PortProxy &getPhysProxy() = 0;
152
155 virtual FSTranslatingPortProxy &getVirtProxy() = 0;
153 virtual PortProxy &getVirtProxy() = 0;
156
157 /**
158 * Initialise the physical and virtual port proxies and tie them to
159 * the data port of the CPU.
160 *
161 * tc ThreadContext for the virtual-to-physical translation
162 */
163 virtual void initMemProxies(ThreadContext *tc) = 0;
164
154
155 /**
156 * Initialise the physical and virtual port proxies and tie them to
157 * the data port of the CPU.
158 *
159 * tc ThreadContext for the virtual-to-physical translation
160 */
161 virtual void initMemProxies(ThreadContext *tc) = 0;
162
165 virtual SETranslatingPortProxy &getMemProxy() = 0;
163 virtual PortProxy &getMemProxy() = 0;
166
167 virtual Process *getProcessPtr() = 0;
168
169 virtual void setProcessPtr(Process *p) = 0;
170
171 virtual Status status() const = 0;
172
173 virtual void setStatus(Status new_status) = 0;

--- 213 unchanged lines hidden ---
164
165 virtual Process *getProcessPtr() = 0;
166
167 virtual void setProcessPtr(Process *p) = 0;
168
169 virtual Status status() const = 0;
170
171 virtual void setStatus(Status new_status) = 0;

--- 213 unchanged lines hidden ---