thread_context.hh (8902:75b524b64c28) thread_context.hh (9020:14321ce30881)
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

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

50#include "arch/types.hh"
51#include "base/types.hh"
52#include "config/the_isa.hh"
53
54// @todo: Figure out a more architecture independent way to obtain the ITB and
55// DTB pointers.
56namespace TheISA
57{
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

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

50#include "arch/types.hh"
51#include "base/types.hh"
52#include "config/the_isa.hh"
53
54// @todo: Figure out a more architecture independent way to obtain the ITB and
55// DTB pointers.
56namespace TheISA
57{
58 class Decoder;
58 class TLB;
59}
60class BaseCPU;
61class CheckerCPU;
62class Checkpoint;
59 class TLB;
60}
61class BaseCPU;
62class CheckerCPU;
63class Checkpoint;
63class Decoder;
64class EndQuiesceEvent;
65class SETranslatingPortProxy;
66class FSTranslatingPortProxy;
67class PortProxy;
68class Process;
69class System;
70namespace TheISA {
71 namespace Kernel {

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

130 virtual void setContextId(int id) = 0;
131
132 virtual TheISA::TLB *getITBPtr() = 0;
133
134 virtual TheISA::TLB *getDTBPtr() = 0;
135
136 virtual CheckerCPU *getCheckerCpuPtr() = 0;
137
64class EndQuiesceEvent;
65class SETranslatingPortProxy;
66class FSTranslatingPortProxy;
67class PortProxy;
68class Process;
69class System;
70namespace TheISA {
71 namespace Kernel {

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

130 virtual void setContextId(int id) = 0;
131
132 virtual TheISA::TLB *getITBPtr() = 0;
133
134 virtual TheISA::TLB *getDTBPtr() = 0;
135
136 virtual CheckerCPU *getCheckerCpuPtr() = 0;
137
138 virtual Decoder *getDecoderPtr() = 0;
138 virtual TheISA::Decoder *getDecoderPtr() = 0;
139
140 virtual System *getSystemPtr() = 0;
141
142 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
143
144 virtual PortProxy &getPhysProxy() = 0;
145
146 virtual FSTranslatingPortProxy &getVirtProxy() = 0;

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

301 void setContextId(int id) { actualTC->setContextId(id); }
302
303 TheISA::TLB *getITBPtr() { return actualTC->getITBPtr(); }
304
305 TheISA::TLB *getDTBPtr() { return actualTC->getDTBPtr(); }
306
307 CheckerCPU *getCheckerCpuPtr() { return actualTC->getCheckerCpuPtr(); }
308
139
140 virtual System *getSystemPtr() = 0;
141
142 virtual TheISA::Kernel::Statistics *getKernelStats() = 0;
143
144 virtual PortProxy &getPhysProxy() = 0;
145
146 virtual FSTranslatingPortProxy &getVirtProxy() = 0;

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

301 void setContextId(int id) { actualTC->setContextId(id); }
302
303 TheISA::TLB *getITBPtr() { return actualTC->getITBPtr(); }
304
305 TheISA::TLB *getDTBPtr() { return actualTC->getDTBPtr(); }
306
307 CheckerCPU *getCheckerCpuPtr() { return actualTC->getCheckerCpuPtr(); }
308
309 Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
309 TheISA::Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
310
311 System *getSystemPtr() { return actualTC->getSystemPtr(); }
312
313 TheISA::Kernel::Statistics *getKernelStats()
314 { return actualTC->getKernelStats(); }
315
316 PortProxy &getPhysProxy() { return actualTC->getPhysProxy(); }
317

--- 116 unchanged lines hidden ---
310
311 System *getSystemPtr() { return actualTC->getSystemPtr(); }
312
313 TheISA::Kernel::Statistics *getKernelStats()
314 { return actualTC->getKernelStats(); }
315
316 PortProxy &getPhysProxy() { return actualTC->getPhysProxy(); }
317

--- 116 unchanged lines hidden ---