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 --- 43 unchanged lines hidden (view full) --- 52#include "base/types.hh" 53#include "config/the_isa.hh" 54#include "cpu/reg_class.hh" 55 56// @todo: Figure out a more architecture independent way to obtain the ITB and 57// DTB pointers. 58namespace TheISA 59{ |
60 class ISA; |
61 class Decoder; 62} 63class BaseCPU; 64class BaseTLB; 65class CheckerCPU; 66class Checkpoint; 67class EndQuiesceEvent; 68class SETranslatingPortProxy; --- 70 unchanged lines hidden (view full) --- 139 virtual void setContextId(int id) = 0; 140 141 virtual BaseTLB *getITBPtr() = 0; 142 143 virtual BaseTLB *getDTBPtr() = 0; 144 145 virtual CheckerCPU *getCheckerCpuPtr() = 0; 146 |
147 virtual TheISA::ISA *getIsaPtr() = 0; 148 |
149 virtual TheISA::Decoder *getDecoderPtr() = 0; 150 151 virtual System *getSystemPtr() = 0; 152 153 virtual TheISA::Kernel::Statistics *getKernelStats() = 0; 154 155 virtual PortProxy &getPhysProxy() = 0; 156 --- 247 unchanged lines hidden (view full) --- 404 void setContextId(int id) { actualTC->setContextId(id); } 405 406 BaseTLB *getITBPtr() { return actualTC->getITBPtr(); } 407 408 BaseTLB *getDTBPtr() { return actualTC->getDTBPtr(); } 409 410 CheckerCPU *getCheckerCpuPtr() { return actualTC->getCheckerCpuPtr(); } 411 |
412 TheISA::ISA *getIsaPtr() { return actualTC->getIsaPtr(); } 413 |
414 TheISA::Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); } 415 416 System *getSystemPtr() { return actualTC->getSystemPtr(); } 417 418 TheISA::Kernel::Statistics *getKernelStats() 419 { return actualTC->getKernelStats(); } 420 421 PortProxy &getPhysProxy() { return actualTC->getPhysProxy(); } --- 247 unchanged lines hidden --- |